Socket programming


Posted on 16th Feb 2014 07:03 pm by admin

Hello all,

I have a PHP socket script. GPS trackers connect to this socket. IMEI verification takes place and if that is ok, the code is passed to a database. Also if the code contains alert-info, SMS alert is sent to mobile phones.

It works like a charm.. well almost.
My problem is that when I run the script indefinite, after some hours the processor usage exeeds to 99,9% (with top, I can see it is the PHP file which is the cause).

Now my question is: Is it possible to debug the script, so I can find the origin of the CPU usage?

Thanks,

No comments posted yet

Your Answer:

Login to answer
266 Like 42 Dislike
Previous forums Next forums
Other forums

how to get values from $_Post with onchange="form.submit();"?
Hi, I have a form that submit to itself with a file upload field and two other hidden field values.<

Checking BOM Authorization Group
Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assig

Contents of variable not echoing
Hey guys, hopefully this is an easy one...

In this line, the variables are not echoing out. T

filesize problem
i use ubuntu 9.10 and i have mountet a folder from an windows

/mount/FOLDER
/mount/FOLDER/

help understanding hidden input w/ php
hello i'm doing a tutorial where there are multiple forms for an edit page for a user to update thei

Find current logon time
Hi,
in my sql script i want to query and find out the logon time of the current session.
<

output_buffering so rewrite
I'm planning to rewrite some of my scripts so they don't have to use output buffering to accomplish

Setting/Modify Headers using mail() function
I have a question about setting email headers when using mail() in a php script.

When I send

Track downloads' status
Hello,

I need to make somehow, some system, to track whether downloads are completed or faile

IMAGE - SERVER SIDE scripting help...
How to receive pixel data of an image and buid a bitmap file on the server using the HTTP POST metho

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash