By jbrightsky
Hi
I tried to install Ubuntu10.4 Nginx + Wordpress and I can load my site just only a short time and got message on Firefox browser "The page you are looking for is temporarily unavailable. Please try again later. "
Then I went back to ssh terminal and trying to check if nginx is running, I found “-bash: fork: Cannot allocate memory”
and whenever I use any command, I found the same message -bash: fork: Cannot allocate memory
then shortly after, It will work again, then after loading a few pages then it lost connection again.
Please help I tried so many times , I followed many configurations from digital ocean but not succeed.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Your droplet probably run out of memory. Can you post us the results of the following commands? <br>free -h <br>ulimit -a
Hi Sianinos, <br> <br>Thank you for your reply. <br>Here’s what I found <br> <br>> free -l <br> <br> total used free shared buffers cached <br>Mem: 1018820 860364 158456 0 34508 142884 <br>Low: 1018820 860364 158456 <br>High: 0 0 0 <br>-/+ buffers/cache: 682972 335848 <br>Swap: 0 0 0 <br> <br> <br> <br>> unlimit -a <br>core file size (blocks, -c) 0 <br>data seg size (kbytes, -d) unlimited <br>scheduling priority (-e) 0 <br>file size (blocks, -f) unlimited <br>pending signals (-i) 7813 <br>max locked memory (kbytes, -l) 64 <br>max memory size (kbytes, -m) unlimited <br>open files (-n) 1024 <br>pipe size (512 bytes, -p) 8 <br>POSIX message queues (bytes, -q) 819200 <br>real-time priority (-r) 0 <br>stack size (kbytes, -s) 8192 <br>cpu time (seconds, -t) unlimited <br>max user processes (-u) 7813 <br>virtual memory (kbytes, -v) unlimited <br>file locks (-x) unlimited
I’m just curious why I got so less memory on this line <br>Mem: 1018820 860364 158456 0 34508 142884 <br> <br>It said free memory left just 158456 <br> <br>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.