Error in Apache Log - LVE enter -1

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • adam.heavens
    replied
    > Igor Seletskiy wrote:
    > You can edit ve.cfg -- but then you need to reboot server (until we fix /etc/init.d/lvectl restart -- it is disabled for now)
    > Otherwise lvectl is your best choice. The problem with lvectl -- you cannot change value for LVEs that already have been created, unless you do it individually.
    > So, if the site had a hit, it would have an lve (you can see it in /proc/lve/list)
    > And you cannot change all of those at the same time with lvectl

    Ah I see, Thanks for clearing that up!

    Leave a comment:


  • iseletsk
    replied
    You can edit ve.cfg -- but then you need to reboot server (until we fix /etc/init.d/lvectl restart -- it is disabled for now)
    Otherwise lvectl is your best choice. The problem with lvectl -- you cannot change value for LVEs that already have been created, unless you do it individually.
    So, if the site had a hit, it would have an lve (you can see it in /proc/lve/list)
    And you cannot change all of those at the same time with lvectl

    Leave a comment:


  • adam.heavens
    replied
    Thanks, Changing ve.cfg to the following maxEntryProcs to 30, change cpu limit to 25% didn work until it was set using the lvectl tool.

    Thanks for your help!

    Am I missing something here? Can we not just edit the ve.cfg file directly? Do all changes have to be completed using lvectl? I assume therefore it is best just to have a default and not set individual LVE limits?

    Leave a comment:


  • iseletsk
    replied
    My developers told me that this issue can be due to setting CPU limits without setting maxprocentry limits via lvectl tool.

    Leave a comment:


  • iseletsk
    replied
    For some reason LVE thinks that you are over the limit with number of entry procs.
    This message tells us that kernel: enter limit exced for lve 503 (2/4294967295)
    First number is number of procs, the second is the limit. So, it looks like the limit is too big, and maybe there is some error due to that.
    Actually 4294967295 == (uint32_t)-1 -- so it thinks the limit is -1.
    Usually it should have something like (21/20)

    Could you try to:
    change maxEntryProcs to 30, change cpu limit to 25%
    We found this numbers most useful
    And try rebooting. That should clear up the issue.

    Leave a comment:


  • adam.heavens
    replied
    root@scl-vm-www19 [~]# cat /proc/lve/list
    veid refs cpu io cpu_usage
    503 2 100 100 3729163
    root@scl-vm-www19 [~]#

    Yes dmesg still shows the same error.

    Leave a comment:


  • iseletsk
    replied
    Very strange.
    What about output of cat /proc/lve/list

    Does dmesg still prints out: enter limit exced for lve 503 (2/4294967295)
    for each request.

    Leave a comment:


  • adam.heavens
    replied
    Nope still get the error even after a reboot.

    Get this in the browser when calling a PHP page

    Service Temporarily Unavailable

    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at xxx.xxx.xxx.xxx port 80

    Leave a comment:


  • iseletsk
    replied
    Do you still get this error? Or did it clear up after reboot?

    Leave a comment:


  • adam.heavens
    replied
    root@scl-vm-www19 [~]# lveps -d
    LVE REF PNO TNO UID GID CPU MEM I/O
    root@scl-vm-www19 [~]#

    Leave a comment:


  • iseletsk
    replied
    results lveps -d

    Leave a comment:


  • adam.heavens
    replied
    This is the error in /var/log/messages : Apr 26 19:45:38 kernel: enter limit exced for lve 503 (2/4294967295)

    But the entry for 503 has been removed fr om ve.cfg and the server rebooted.

    Kernel: 2.6.18-264.11.1.el5.17.cloudlinux #1 SMP Tue Apr 13 06:46:36 EDT 2010 i686 i686 i386 GNU/Linux

    ve.cfg config below

    <lveconfig>
    <defaults>
    <cpu limit="100"/>
    <io lim it="100"/>
    <other maxEntryProcs="2000"/>
    </defaults>
    </lveconfig>

    Leave a comment:


  • iseletsk
    replied
    Could you check if there are any messages in /var/log/messages or dmesg?

    Also, which version of kernel are you running?
    Does it happen for single domain, all domains?
    what is the result of lveps -d

    Leave a comment:


  • adam.heavens
    started a topic Error in Apache Log - LVE enter -1

    Error in Apache Log - LVE enter -1

    Hi,

    We have the following error on any access to PHP pages on our test server.

    The error in apache error log is mod_hostinglimits:Error on LVE enter -1

    Static pages and images load fine.

    Permissions on device /dev/lve is 777

    Can anybody shed any light on this?

    Thanks
Working...