Jump to content
php.lv forumi

Recommended Posts

Posted

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.

Posted

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?

Posted

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')

Posted

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??

Posted

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.

Posted

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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...