Forum
  1. Forums
  2. General
  3. Programming for CloudLinux
  1. tincboy tincboy
  2. Monday, April 30, 2012
  3.  Subscribe via email
It\'s very useful if we can track the fMems and fEps with more detail,
For example if we could listen to an event by our own code and it would case our code to be executed every time an error 500 occurs because of lake of EP or memory with details like path of php file ,time it happens and resources which was not available.
Does CloudLinux support such requirement?
Rate this post:
  1. 30.04.2012 14:04:11
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1195
Joined: 09.02.2010
0
Votes
Undo
I am not sure it makes sense to create such events on memory faults. Some apps can generate tens of thousands of them in a second.
Either way -- sending event from kernel to user space -- doesn\'t sound like a good idea.

If you want to react \"immediately\", just create a script that checks /proc/lve/list once a second, and acts once counter gets incremented.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Remove Upload Files (Maximum File Size: 2 MB)
You may insert polls into your post. The poll would then appear in the post.
Vote Options
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.