No0ne Posted February 8, 2011 Report Share Posted February 8, 2011 Sveiki, parnesu lapas no sava servera uz VPS, VPS apmeram uz pusi vajaks, bet tomer, apskatot resursus, radas, ka tiek izmantoti apmeram 20% RAMa, load average ap 1.00 staigaa, CPU rada ka <10% izmanto, vardu sakot viss ir loti pienemami, bet lapa met 500 un 503 errorus ik pa laikam. Serveris lighttpd, php, mysql. Vai man janem niknaku VPS vai vienkarsi nokonfigurets nav pareizi? Resursi it kaa paliek brivi, bet tapat met to erroru. Quote Link to comment Share on other sites More sharing options...
Aleksejs Posted February 8, 2011 Report Share Posted February 8, 2011 Nu, pēc idejas 503 errora nozīme tieši ir, ka resursu trūkst. Varbūt ir ierobežojums uz procesu skaitu vai ko tādu? 500 errors ir vispārīgāks. Bet ko raksta log failos? Varbūt ieslēdz logošanu debug režīmā? Un ko atgriež: ulimit -a ? http://ss64.com/bash/ulimit.html Quote Link to comment Share on other sites More sharing options...
No0ne Posted February 8, 2011 Author Report Share Posted February 8, 2011 Parsvara 500 radas, to 503 tik dazas reizes maniju [root@pornoplace ~]# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 139264 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 10240 cpu time (seconds, -t) unlimited max user processes (-u) unlimited virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Tagad vel tadu jaukumu ieraudziju: Warning: fsockopen() [function.fsockopen]: unable to connect to css.crazygames.lv:8000:8888 (No buffer space available) Ka iesledz lai logojas debug reziimaa? Quote Link to comment Share on other sites More sharing options...
briedis Posted February 8, 2011 Report Share Posted February 8, 2011 Kas tas par joku? :8000:8888 Divi porti pēc kārtas? :) Quote Link to comment Share on other sites More sharing options...
No0ne Posted February 8, 2011 Author Report Share Posted February 8, 2011 Kas tas par joku? :8000:8888 Divi porti pēc kārtas? :) Nezinu kapec tur ta radas, skriptaa ir: $scs = &new ShoutcastInfo('css.crazygames.lv:8000') Quote Link to comment Share on other sites More sharing options...
briedis Posted February 8, 2011 Report Share Posted February 8, 2011 Nezinu kapec tur ta radas, skriptaa ir: $scs = &new ShoutcastInfo('css.crazygames.lv:8000') Nu varbūt tāpēc, ka ShoutcastInfo() pats piemet klāt portu?? Quote Link to comment Share on other sites More sharing options...
No0ne Posted February 8, 2011 Author Report Share Posted February 8, 2011 Nu varbūt tāpēc, ka ShoutcastInfo() pats piemet klāt portu?? Nu, nee, tur viss normali, nezinu kapec tas brinums radijas un godigi sakot sobrid tas ari neinterese, iznemu vispar shoutcastu aaraa. Gribu atrisinat 500to erroru problemas sobrid, nevis uztraukties par to vai lapaa radas, kas pa radio skan. Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted February 8, 2011 Report Share Posted February 8, 2011 http://serverfault.com/questions/142320/how-to-enable-error-log-in-lighttpd-properly Ko ta tu gaidiiji no porn lapas :D Quote Link to comment Share on other sites More sharing options...
No0ne Posted February 8, 2011 Author Report Share Posted February 8, 2011 Es loti maz saprotu no serveriem pasiem, tapat ar linuxu, tapec laikam taja lapa, ko iedevi, es risinajumu neredzu. Varetu but, ka uzliekot apachi tas viss nokartosies? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.