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

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

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

FollowTheTortoise
New php-forum User
New php-forum User
Posts: 82
Joined: Sun Dec 04, 2011 1:35 pm
Location: Southern California
Contact:

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

User avatar
egami
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

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.


Return to “PHP & MySQL Security”

Who is online

Users browsing this forum: No registered users and 1 guest

cron