stef_63686
New Member
- Messages
- 18
- Reaction score
- 0
- Points
- 0
This is a response to the question and suspension reason: "Site explanation requested - what is your site doing, and why is nsn.php showing up in the logs several times a minute?"
Hello,
My site, and nsn.php, are communicating with a simulator program. This program requests data that is stored in the mysql database via nsn.php.
The program was created to send in a ping every 5 minutes to let the database know it is still there, that might be the reason it shows up in the log that many times.
These pings only update and request one single field in the database at a 5 minute interval, is it really consuming that much of your servers CPU? These pings should be relatively unharmful because it is a very small piece of code and one query that is executed.
Every once in a while, a user of the simulator program might request more information via nsn.php, this requires a bit more calculation but this is only activated on users request which only happens about 10 times a day and that shouldn't give any problem at all since a normal website would have queries like this too and might be executed even more often.
If my program is really bothering your server I could try setting the interval to 10 minutes, it would decrease the amount of CPU it requires by 50% but it would also decrease the accuracy of my program, So I really hope we can come to a solution that doesn't result in a decreasing accuracy or me moving my scripts to another host.
Hello,
My site, and nsn.php, are communicating with a simulator program. This program requests data that is stored in the mysql database via nsn.php.
The program was created to send in a ping every 5 minutes to let the database know it is still there, that might be the reason it shows up in the log that many times.
These pings only update and request one single field in the database at a 5 minute interval, is it really consuming that much of your servers CPU? These pings should be relatively unharmful because it is a very small piece of code and one query that is executed.
Every once in a while, a user of the simulator program might request more information via nsn.php, this requires a bit more calculation but this is only activated on users request which only happens about 10 times a day and that shouldn't give any problem at all since a normal website would have queries like this too and might be executed even more often.
If my program is really bothering your server I could try setting the interval to 10 minutes, it would decrease the amount of CPU it requires by 50% but it would also decrease the accuracy of my program, So I really hope we can come to a solution that doesn't result in a decreasing accuracy or me moving my scripts to another host.
Last edited: