Magento background cannot log in

Source: Internet
Author: User

Often someone encounters Magento backstage, entered the correct account password. Do not log on properly, and do not prompt for errors. is to continue to jump to the login interface.

There are many solutions on the web, most of which are to comment out a piece of code.

I am a stand-alone server, according to the online method, annotate the code, also can not log in.

Then I emptied the cache and after the session. Can log in. But only for a while. After a few 10 minutes. Re-landing, there are problems again.

So the problem arises when allocating memory space to the Var.

At the time of Magento optimization. I used the command mount-t tmpfs-o size=100m,mode=0777 tmpfs var

is to mount the Var in memory and assign it 100M of memory space. The memory for VAR is only configured with 100M. How can this be done? var minutes to two hundred or three hundred m.

Decisively execute command mount-t tmpfs-o size=1000m,mode=0777 tmpfs var. Add the memory of Var to 1G. The problem has been solved.

Log on to FTP to view var. Takes up more than 300 m. No wonder you can't land. But assigned to 1G. It's enough. It's good to have the cache emptied periodically.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.