Announcement

Collapse
No announcement yet.

--by-fault option

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • --by-fault option

    --by-fault option not working

  • #2
    Hi,

    We have several box running with CL and weve 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.

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

    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.
    ==============
    root@server [~]# 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.

    Comment


    • #3
      when --by-fault=mep is used, it will only show users which hit maxEntryProcs limit.
      If you don 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.

      Comment


      • #4
        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,

        ====================
        root@server [~]# httpd -M | grep hosting
        hostinglimits_module (shared)
        ====================

        Please guide me through. Thanks in advance.

        Comment


        • #5
          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 (iseletsk@cloudlinux.com), or submit it via helpdesk: https://helpdesk.cloudlinux.com

          Comment


          • #6
            Hello Igor,

            Ive emailed you on this. Thanks.

            Comment

            Working...
            X