There is smtg wrong with my script. It crush my entire server. I've tried to debug it and profile the index.cgi and it showed that $ses = Session->new(); stops itself... In that sense that 100% cpu is eaten by the index.cgi and it deson't go any more forward.
Help.
XFileSharing Pro - A Big Problem
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
I think somebody is kinda DDOSing you. Check your access logs for too frequent requests.
Also try this mod: in api.cgi find
and replace $c->{site_url} with URL to some 'Wrong IP' small static page.
Also try this mod: in api.cgi find
Code: Select all
print FILE "RewriteEngine on\nRewriteCond %{REMOTE_ADDR} !^$ip\$\nRewriteRule ^.*\$ $c->{site_url}";