# Can somebody fix this nginx error?

**URL:** <https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355>\
**Category:** NGINX\
**Created:** [April 22, 2010, 3:47am UTC](https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355 "2010-04-22T03:47:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![escavern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/5f9b8f/32.png) [@escavern](https://www.ruby-forum.com/u/escavern)\
**Post date:** [April 22, 2010, 3:47am UTC](https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355/1 "2010-04-22T03:47:22Z")

</div>

my websites always shows “error, The page you are looking for is  
temporarily unavailable.” if the traffic going high, lets say more than  
500 visitors… and then i open my error.log, here is inside it…:

2010/04/21 08:27:31 3789#0: \*1581265 socket() failed (105: No buffer  
space available) while connecting to upstream, client: 203.128.250.8,  
server: [ceriwis.us](http://ceriwis.us), request: “GET /image.php?u=1682&dateline=1264986938  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[ceriwis.us](http://ceriwis.us)”,  
referrer: “[http://ceriwis.us/showthread.php?t=65](http://ceriwis.us/showthread.php?t=65)”  
2010/04/21 08:27:32 3789#0: \*1581509 socket() failed (105: No buffer  
space available) while connecting to upstream, client: 110.139.208.156,  
server: [ceriwis.us](http://ceriwis.us), request: “GET / HTTP/1.1”, upstream:  
“fastcgi://127.0.0.1:9000”, host: “[ceriwis.us](http://ceriwis.us)”  
2010/04/21 08:27:32 3789#0: \*1581197 socket() failed (105: No buffer  
space available) while connecting to upstream, client: 125.163.46.19,  
server: [ceriwis.us](http://ceriwis.us), request: “POST /chat/getxml.php?session\_inst=1  
HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “[ceriwis.us](http://ceriwis.us)”

what does it mean?? what is the problem? anyone know how to fix this  
problem? is this related with worker\_process in configuration? i set my  
worker\_process because i only have 1 processor… can i set up the  
worker\_process to 4 if i only have 1 processor??

Posted at Nginx Forum:

> **[can somebody fix this nginx error??](https://forum.nginx.org/read.php?2,77854,77854#msg-77854)**
>
> my websites always shows "error, The page you are looking for is temporarily unavailable." if the traffic going high,, lets say more than 500 visitors.. and then i open my error.log, here is inside it..: 2010/04/21 08:27:31 \[alert\] 3789#0:...

---

<div class="post-metadata">

**Author:** ![escavern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/5f9b8f/32.png) [@escavern](https://www.ruby-forum.com/u/escavern)\
**Post date:** [April 22, 2010, 4:36am UTC](https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355/2 "2010-04-22T04:36:32Z")

</div>

I’d guess “No buffer space available) while connecting to upstream”  
means your problem is in the upstream server, not in nginx, but i’m  
just guessing.

You can set your worker processes to 4 but i don’t think it’s either  
necessary or it’ll help you in this situation. Try it.

–  
() ascii-rubanda kampajno - kontraÅ­ html-a retpoÅto  
/\ ascii ribbon campaign - against html e-mail

---

<div class="post-metadata">

**Author:** ![escavern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/5f9b8f/32.png) [@escavern](https://www.ruby-forum.com/u/escavern)\
**Post date:** [April 22, 2010, 4:46am UTC](https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355/3 "2010-04-22T04:46:30Z")

</div>

On Wed, 2010-04-21 at 21:46 -0400, escavern wrote:

> 105: No buffer space available

> **[errno.h](https://en.wikipedia.org/wiki/ENOBUFS)**
>
> \<errno.h\> is a header file in the standard library of the C programming language. It defines macros for reporting and retrieving error conditions using the symbol errno (short form for "error number"). errno acts like an integer variable. A value (the error number) is stored in errno by certain library functions when they detect errors. At program startup, the value stored is zero. Library functions store only values greater than zero. Any library function can alter the value stored before return...

You are exhausting a kernel resource. You should provide some basic  
information about what sort of system this is (is it a VPS? What OS?)  
so that someone with expertise in that system can help you tune it.

Regards,  
Cliff

---

<div class="post-metadata">

**Author:** ![escavern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/5f9b8f/32.png) [@escavern](https://www.ruby-forum.com/u/escavern)\
**Post date:** [April 22, 2010, 5:32pm UTC](https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355/4 "2010-04-22T17:32:18Z")

</div>

Hello Nginx List,

i run nginx + php-fpm and sometimes i get only a page with only  
Hieroglyphics. Any ideas  
where i can start to debug?

Could it be missconfiguration of the default\_type? I set no  
default\_type.

My output looks like this…

xoeÃ­]Ã›rÃ›8Â¶}–ÂªÃ²Â¦ÂºÃ£Ã”4E,0/00R,uÃ‰?Ã¸tÃ¬Â¸luÃ§Ã´Â¼tQ$1Â¦H6IÃ¹’s(?s(O~Ã¿8OÃ³8Y"1Â³Ãž%’–,%NÃ•0/00Ã»"?Ã˜{Ã„ÃšÃ˜XAÂ²^Â¯Ã—?Ã¿2Ã¼0Ã½~Â©Â£EÂ°Â´ÃÃ¥Â¯’Ã¯Ã^Ã£Ã¡Â£\<"Ã¡h^Ã¾Ã·ÃÃ¨Ã¼=Ã‚  
?\<ÃƒÃ¶ÃÃ€tlÃƒÃ½,Â«Ã—BÃœ"ÃœZ( ÃœÃÃ5Ã®Ã¤+Ã£Ã…Ã‘.pOÃ­aj  
JÃ²AFÂ»1Â¦?Â©Ã—?iv~^1…Y"Ã€  
,Ã’Â«Ã—ÃºxvÃ½Ã®Ã¬Â¼Ã¿VÂ¿F\<ÂºÃ´^Ã¯"^™8sÃ~^™Â¤~,Ã„'Ã‡?Ã¡yTÂ¯Ã•kÂ£…Ã©Â£?d  
Â¥IÃ—Â¹#^™Â¢Ã±ÃºhÃº\<%^™s(zÂ»Â¿Â«Ã—ÃŽÃ¬^™Ã£-ZedÃ˜S4qÃ¬Ã€3Ã‡+zÂ¢fÃ¢+S(.SRÂ¯Ã³\<"Â¥-I`0 z(Ã¼Â¹2oÂ»Ãœt0/00Ã°Â£a---pÃŒuÂ¹EURÃœaÂ½Â¶7hÂ²0<Y"]Ã“wxMSÃ›<Ã¦?Ã+0e.?9 Ã‡e^Ã†Ã”ÃŒÂ°|'QÂ±?%Ã©rsbÃoeÂ¬dÃ¾:7TÂ¦F?Â­Â¢$b'^'nu$Â¹fÃ¥.Ã¡ Ã‘_<]J.Ã‹Ã•Ã˜!Â²>Ã–Ã€q<sÂ¾Â¶Ã—Ã²oeÂ±Ã¸yÃ“z('Ã»Y"fZ(e9w?ÃždaÃž+MW?Â¶LÃ»yÃ„Ãªr~Ã°`Â¨?'EUR-BkÃ¢fÂ¥…Gf]NHEÃ‚dfeÃ’Ã’Ã·33ÃµÃ—}HÂ¬Ã•?Ã½0/00gÂºAVÃ¿"qk"g9Ã¤{Â°’z(  
rÂ½??Ã¨WÃ—gfwÂ£cÃEURZ,dÂ±JÃ¢Ã¥LkÃ˜Ã©’Ã½\<\_Â¨S`Ã¥&Ã‰Â´Ã“2Ã´&  
g9s^\AÂ¨ÃºK?Ã”?Ã¿Ã¡Â­z()7WÃ²66Ã¾Ã¯Ã´TÂ¿ÃÂ°ÃºnÂ½Ã¼mc2qVvÃ¿+.Â¯ÃŽ~Ã«? Â´…LeÃ¤r

---

<div class="post-metadata">

**Author:** ![escavern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/5f9b8f/32.png) [@escavern](https://www.ruby-forum.com/u/escavern)\
**Post date:** [April 22, 2010, 8:41am UTC](https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355/5 "2010-04-22T08:41:49Z")

</div>

I 2nd this  
take a look at your system output on copy/paste the outputs pls, run  
commands as root

1- cat /var/log/messages  
2- ulimit (as the user that runs nginx)  
3- dmesg

---

<div class="post-metadata">

**Author:** ![escavern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/5f9b8f/32.png) [@escavern](https://www.ruby-forum.com/u/escavern)\
**Post date:** [April 22, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355/6 "2010-04-22T18:36:44Z")

</div>

Hello JÃ©rÃ´me Loyet,

thanks for your fast response. I think i found the the part of  
missconfiguration. Its my memcached-nginx-cache. I use  
Nginx with memche as cache. PHP puts the wrong content to memcache and  
Nginx delivers … Switching back to  
memcache extension version 2 solves my problem.

Thanks, have a nice day.

Kind regrads

---

<div class="post-metadata">

**Author:** ![escavern](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/5f9b8f/32.png) [@escavern](https://www.ruby-forum.com/u/escavern)\
**Post date:** [April 22, 2010, 5:34pm UTC](https://www.ruby-forum.com/t/can-somebody-fix-this-nginx-error/187355/7 "2010-04-22T17:34:39Z")

</div>

2010/4/22 Alexander K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> xÅ“Ã­]Ã›rÃ›8Â¶}â€“ÂªÃ² Â¦ÂºÃ£Ã”4Eâ€š â€°R,uÃ‰ ÂÃ¸tÃ¬Â¸luÃ§Ã´Â¼tQ $1Â¦H6IÃ¹â€™Å¡?Å¡OËœÃ¿8OÃ³8Å¸1 Â³  
> Ãž%â€™â€“,%NÃ•â€°Ã»“ÂÃ˜{ Ã„ÃšÃ˜XAÂ²^Â¯Ã—ÂÃ¿2Ã¼0 Ã½~Â©Â£EÂ°Â´ÃÃ¥Â¯'Ã¯Ã Ë†Ã£ Ã¡Â£\< â€žÃ¡hË†Ã¾Ã·ÃÃ¨Ã¼=Ã‚ Â\<ÃƒÃ¶ÃÃ€tlÃƒ  
> Ã½â€šÂ«Ã— BÃœ” ÃœÅ½ ÃœÃÃ5Ã®Ã¤â€ Ã£Ãâ€¦Ã‘â€¢pOÃ­aj JÃ²AFÂ»1Â¦\ÂÂ©Ã—Âiv ~Ë†1â€¦Å¸Ã€ ,Ã’Â«Ã— ÃºxvÃ½Ã®Ã¬Â¼Ã¿VÂ¿F\<ÂºÃ´Ë†Ã¯â€œâ„¢  
> 8sÃËœâ„¢Â¤~,Ã„â€™Ã‡Ã¡yTÂ¯Ã•kÂ£â€¦Ã©Â£Âd Â¥ IÃ—Â¹# â„¢Â¢Ã± ÃºhÃºâ€¹%â„¢Å¡ zÂ» Â¿Â«Ã—ÃŽÃ¬â„¢Ã£-Z dÃ˜S4qÃ¬Ã€3Ã‡+zÂ¢Æ’Ã¢+Å â€¢  
> SRÂ¯Ã³\<â€ Â¥-I`0Â Â Â Å¾Ã¼Â¹2oÂ»Ãœtâ€° Ã°Â£ â€”pÃŒ uÂ¹â‚¬Ãœ Â½Â¶7hÂ²0<Å¸ ]Ã“wxMSÃ›<Ã¦ÂÃ+0e.Â9Â Â Â Ã‡ ^Ã†Ã”ÃŒÂ°|â€™QÂ±Â%Ã©rsb Ã Å“Â¬dÃ¾:7TÂ¦FÂÂ­Â¢$bâ€˜ ^â€™ nu$Â¹Æ’Ã¥â€¢Ã¡ Ã‘_ â€¹]J â€¢Ã‹Ã•Ã˜ !Â²â€ºÃ–Ã€q <sÂ¾ Â¶Ã—Ã²Å“Â± Ã¸ yÃ“Å¾â€™Ã»Å¸fÅ½e9w? ÃždaÃžâ€ MW?Â¶LÃ» yÃ„Ãªr~Ã°` Â¨ Ââ€™ â‚¬-BkÃ¢Æ’Â¥â€¦Gf]NHEÃ‚dÆ’eÃ’Ã’Ã·33Ãµ  
> Ã—}HÂ¬Ã•ÂÃ½â€°gÂºAVÃ¿â€œqkâ€žg9Ã¤{ Â°â€™Å¾ rÂ½ÂÃ¨WÃ—gÆ’wÂ£cÃâ‚¬Zâ€šdÂ±JÃ¢Ã¥LkÃ˜ Ã© 'Ã½â€¹\_Â¨ S`Ã¥&Ã‰ Â´Ã“2 Ã´&  
> g9sË†\AÂ¨ÃºKÃ”Ã¿Ã¡Â­Å¾)7WÃ²66Ã¾Ã¯Ã´TÂ¿ ÃÂ°ÃºnÂ½Ã¼ mc2qVv Ã¿â€ .Â¯ÃŽ~Ã«Â Â´â€¦L Ã¤r

there is a lack of informations here.

please be more precise, with page type fpm returns, versions, …  
anything
