New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nginx Server...:[emerg]: zero size shared memory zone "uploads" #157
Comments
|
Me too head that bug with latest Barracuda switched to aegir0.4-beta1 on Ubuntu 10.04 at 720MB Linode (same as jezzjesz) Omega8cc advised me to change aegir to HEAD - then, after clean reinstall of baracuda Nginx started to response but serves only picture "under construction" on main aegir domian (aegir login should be there) and 404 on url with string to log in as admin from email. It is 20 minutes since barracuda finished installation. |
|
As discussed on the IRC #aegir at freenode: it should work with fresh install, however you have to wait for the first 2 cron runs, the verify task adds this to the config and restarts Nginx, since it first checks if you have compatible nginx version installed, provision has to run first to get the idea what is installed on the system and what config version for nginx should be used. And the rest is Ubuntu specific. No idea why it is broken again, while Debian Lenny just works. I promise to try to debug it for Ubuntu next week. Of course I recommend to use Lenny. |
|
This should be fixed now: http://community.aegirproject.org/node/216#comment-118 |
|
I had this issue today. After I upgraded Barracuda from A14 it seemed to work just fine. Then I installed my first Octopus instance and all of my sites that were on my main Barracuda install went down. Reason: nginx wouldn't start with "Nginx Server...:[emerg]: zero size shared memory zone "uploads". The fix: at end of #compression section I added: upload_progress uploads 1m; /etc/init.d/nginx start Started up. just a heads up. |
|
This is a known issue, but I was sure we introduced working upgrade path. No idea why it didn't work for you, sorry, we were unable to test all previous Barracuda versions to make sure it works as expected. |
|
fresh install today on Ubuntu 10.04 using aegir 0.4-beta2 and I have this exact same problem. Just a heads up. |
|
Don't use beta2, use HEAD. |
|
Brand new barracuda install today on debian squeeze (our first on squeeze), had the same problem. Added upload_progress to /var/aegir/config/nginx.conf as shown above, and worked fine. |
|
I can't reproduce it on any server, it just works for me - tested in 3 different datacenters, on Lenny, Squeeze, Lucid and Maverick - never experienced that issue again. (and I have seen this only on some old upgrade, never on install). So no idea why it doesn't work for you :/ There is different issue, however - forced initial Nginx restart doesn't work correctly for some reason. Working on it. BTW: you promised something :) |
|
Also had this problem from a fresh install (linode/lenny) a couple weeks ago. I fixed it using this solution and just finished running upgrade script for the rc2 aegir release and the problem popped up again. Easy fix though I suppose! :) |
|
That sounds really weird. I tested it on many servers probably more than 100 times and never seen that. Are you forcing your hostname/IP or just running Barracuda with existing linode hostname? |
|
I did it exactly as shown in the installer comments _MY_OWNIP=192.168.0.108_MY_HOSTN=server.mydomain.com_MY_FRONT=aegir.mydomain.comand replaced my IP and mydomain. when I ran the update yesterday I, I only changed the email address and it detected my host/IP settings from before. Sorry I'm pretty green with Linux so I'm not much help. Thanks for such an amazing script, I can really notice how fast my sites are on it!! |
|
I just had the same problem on a 1.0-boa-T-8.7 setup. The only thing that I can think of that could have triggered this was a site delete operation failed. It failed, leaving me with no way to remove the platform from within Aegir, so I deleted the site note manually. After this, at a seeminly random point, nginx stopped and wouldnt start again reporting this error:/ Nginx Server...:[emerg]: zero size shared memory zone "uploads" As mentioned several times above, adding upload_progress uploads 1m; to the nginx.conf file resolved the problem. |
|
hello i've the same error in boa t8-9 the size 1048576 of shared memory zone "uploads" conflicts with already declared size 0 in /etc/nginx/conf.d/aegir.conf:143 any ideas? |
|
We no longer use this issue tracker. If you wish/need to continue any thread, please open an issue on d.o and reference there the original issue from github. Thanks. |
|
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its acmeideal@gmail.com ------- This is a copy of the message, including all the headers. ------ Content preview: Closed #157. --- Reply to this email directly or view it on Content analysis details: (-3.2 points, 5.0 required) pts rule name description -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high ----==_mimepart_537dea9a45b10_6943fcfa117f2b8253031 Closed #157. Reply to this email directly or view it on GitHub: Closed #157. — ----==_mimepart_537dea9a45b10_6943fcfa117f2b8253031-- |
jezpi commentedDec 15, 2010
We Use head version of both scripts. the problem is that nginx ends its work with:
Nginx Server...:[emerg]: zero size shared memory zone "uploads"
error message
We solved that problem by adding following line to the main nginx config:
upload_progress uploads 1m;
Without definition of memory size nginx does not work
The text was updated successfully, but these errors were encountered: