+ Post New Thread
Results 1 to 2 of 2
*nix Thread, xcache.size change crashes server [FIX] in Technical; Thought I'd post this up on here for anyone else who searches for this issue and can't figure out what's ...
  1. #1
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    119

    xcache.size change crashes server [FIX]

    Thought I'd post this up on here for anyone else who searches for this issue and can't figure out what's going on.

    If you make a change to your xcache configuration, specifically changing the xcache.size variable then, when you restart apache you may find yourself facing a heap of errors:
    Code:
    PHP Fatal error:  xc_fcntl_lock failed errno:9
    The problem appears to be the file created at xcache.mmap_path and to resolve everything you need to delete this (or edit the variable for xcache.mmap_path) before restarting apache again.

    Hard to be sure exactly what happens but that cured things for me so thought I'd pass it along.

  2. #2
    contink's Avatar
    Join Date
    Jul 2006
    Location
    South Yorkshire
    Posts
    3,791
    Thank Post
    303
    Thanked 327 Times in 233 Posts
    Rep Power
    119
    ... as a follow on from that...

    Check that your xcache.size and/or xcache.var_size config settings are under your memory limit setting for apache or you'll get errors like this:
    Code:
    PHP Fatal error: XCache: Cannot create shm in Unknown on line 0
    /tmp/xcache: Cannot allocate memory
    Failed creating file mapping
    It's obvious when you actually think about it but figured I'd share the #doh moment



SHARE:
+ Post New Thread

Similar Threads

  1. Add role crashes server
    By badders in forum Windows Server 2008
    Replies: 3
    Last Post: 22nd October 2009, 05:29 PM
  2. Script to change printer server
    By button_ripple in forum Scripts
    Replies: 1
    Last Post: 16th September 2008, 01:29 PM
  3. Crashing server
    By tech-man in forum Windows
    Replies: 17
    Last Post: 21st July 2008, 08:58 AM
  4. Password changes in Server 2003
    By Mr_M_Cox in forum Windows
    Replies: 2
    Last Post: 7th April 2008, 12:42 PM
  5. Changing DHCP server IP label
    By NetworkGeezer in forum Wireless Networks
    Replies: 0
    Last Post: 23rd March 2007, 02:44 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •