Board index   FAQ   Search  
Register  Login
Board index php forum :: PHP and MySQL Security PHP & MySQL Security

when more then 500 user access site site going down

Security issues related to php and mysql usage. How to make your code secure? Security measures and configurations? It's all in here!

Moderators: macek, egami, gesf

when more then 500 user access site site going down

Postby vsivaprabu » Thu Nov 17, 2011 1:10 am

Hi all,

I have developed a application program using PHP and Mysql. When more then 500 user access server site going to down please provide advise how can rectify this. :( :help:


Thanks & Regards,
Siva
vsivaprabu
New php-forum User
New php-forum User
 
Posts: 1
Joined: Thu Nov 17, 2011 12:29 am

Re: when more then 500 user access site site going down

Postby FollowTheTortoise » Thu Dec 08, 2011 7:14 am

Look in caching request if possible. Is the server providing you enough resources, maybe an upgrade to a better hosting/server is necessary. If your script running as efficiently as possible? eg minimal sql queries etc...
FollowTheTortoise
New php-forum User
New php-forum User
 
Posts: 82
Joined: Sun Dec 04, 2011 1:35 pm
Location: Southern California

Re: when more then 500 user access site site going down

Postby egami » Thu Dec 08, 2011 12:59 pm

You may also consider lowering the amount of logging that you're doing, and turn off error logging on your production websites.

Remember that for every one connection, the log files go nuts! So not only are the disks serving web pages, crunching PHP scripts, but also logging the actions and errors. You should have a staging box the same as your production server. All of your troubleshooting should be done there, and your coding done on a dev box.
User avatar
egami
php-forum GURU
php-forum GURU
 
Posts: 2197
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT


Return to PHP & MySQL Security

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron