--by-fault option
Forum
  1. Forums
  2. General
  3. General Discussion
  1. Mick Genie
  2. Thursday, 12 May 2011
  3.  Subscribe via email
--by-fault option not working
Rate this post:
  1. 12.05.2011 21:05:23
  2. # 1
Mick Genie Accepted Answer
Posts: 4
Joined: 12.05.2011
0
Votes
Undo
Hi,

We have several box running with CL and we\'ve configure some script to check the following command daily, but it is found out this script is not working fine from the past few days.

==============
[email protected] [~]# lveinfo --period=1d --by-fault=mep --display-username
ID aCPU mCPU lCPU aEP mEP lEP aMem mMem lMem MemF MepF
[email protected] [~]#

==============

From the above command, I did tested with mem or mep and the problem still there, any way to fix it?

By the way, when I removed the --by-fault option, the data is showing.
==============
[email protected] [~]# lveinfo --period=1d --display-username
ID aCPU mCPU lCPU aEP mEP lEP aMem mMem lMem MemF MepF
Username 1 15 15 0 17 20 39M 384M 384M 46 0

==============

Lastly, I found this problem on several boxes.
  1. 12.05.2011 21:05:43
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
when --by-fault=mep is used, it will only show users which hit maxEntryProcs limit.
If you don\'t see any results -- it means no one hit it.

On the other hand, if you see only one user in when you do this:
# lveinfo --period=1d --display-username

It most likely means something is wrong with your setup (as that will show you all users that were active for the past 24 hours). Most likely mod_hostinglimits is not working.
If that is the case -- which control panel are you using? I can try to give instructions on how to check based on CP.
  1. 12.05.2011 21:05:55
  2. # 3
Mick Genie Accepted Answer
Posts: 4
Joined: 12.05.2011
0
Votes
Undo
Hello Igor,

It is impossible that no one is hitting it as I could see some MemF hitting more than one thousand when simply run the command # lveinfo --period=1d --display-username.

By the way, the box with cPanel and mod_hostinglimits module is there,

====================
[email protected] [~]# httpd -M | grep hosting
hostinglimits_module (shared)
====================

Please guide me through. Thanks in advance.
  1. 12.05.2011 21:05:10
  2. # 4
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
so, when you run lveinfo --period=1d --display-username

you can see entries where memF is not 0?
yet, with lveinfo --period=1d --by-fault=mep --display-username
it displays nothing?

could you send us /var/log/lveinfo.db from your server?
It is rather strange to see something like that, sounds like we have some bug in a way we query it.
You can either send it to me direct ([email protected]), or submit it via helpdesk: https://helpdesk.cloudlinux.com
  1. 12.05.2011 21:05:15
  2. # 5
Mick Genie Accepted Answer
Posts: 4
Joined: 12.05.2011
0
Votes
Undo
Hello Igor,

I\'ve emailed you on this. Thanks.
  • 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
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.