The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Core File under Horde

Discussion in 'General Discussion' started by adapter, Oct 17, 2005.

  1. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    i have a problem with Horde Webmail it fill up all my Usr partition because it make a lot of the following files:

    -rw------- 1 cpanel cpanel 6402048 Sep 26 09:20 core.1005
    -rw------- 1 cpanel cpanel 8687616 Sep 30 11:56 core.1010
    -rw------- 1 cpanel cpanel 9392128 Oct 10 21:02 core.1014
    -rw------- 1 cpanel cpanel 6402048 Sep 26 09:20 core.1036
    -rw------- 1 cpanel cpanel 8802304 Sep 28 17:49 core.10412
    -rw------- 1 cpanel cpanel 6496256 Oct 14 11:55 core.1048
    -rw------- 1 cpanel cpanel 8765440 Oct 6 14:45 core.10546
    -rw------- 1 cpanel cpanel 8974336 Sep 27 17:21 core.11096
    -rw------- 1 cpanel cpanel 6393856 Sep 29 18:38 core.11417
    -rw------- 1 cpanel cpanel 6402048 Sep 29 18:38 core.11603
    -rw------- 1 cpanel cpanel 6402048 Sep 29 18:38 core.11685
    -rw------- 1 cpanel cpanel 9056256 Oct 10 13:31 core.11711
    -rw------- 1 cpanel cpanel 6402048 Sep 29 18:39 core.11721
    -rw------- 1 cpanel cpanel 6402048 Sep 29 18:39 core.12000
    -rw------- 1 cpanel cpanel 6402048 Sep 29 18:39 core.12065
    -rw------- 1 cpanel cpanel 6402048 Sep 29 18:40 core.12176
    -rw------- 1 cpanel cpanel 7380992 Sep 29 18:41 core.12492
    -rw------- 1 cpanel cpanel 7380992 Sep 29 18:42 core.12831
    -rw------- 1 cpanel cpanel 15110144 Sep 28 17:56 core.12965
    -rw------- 1 cpanel cpanel 15110144 Sep 28 17:56 core.13014
    -rw------- 1 cpanel cpanel 9498624 Sep 26 16:15 core.13408
    -rw------- 1 cpanel cpanel 9629696 Sep 28 17:57 core.13522
    -rw------- 1 cpanel cpanel 8712192 Sep 27 00:11 core.13723
    -rw------- 1 cpanel cpanel 8802304 Sep 27 17:29 core.13758
    -rw------- 1 cpanel cpanel 6402048 Sep 26 09:21 core.1384


    how can i fix?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Which bit do you want to fix? If you want to stop core files being created when there's a application crash with an exception, you can turn them off in /etc/sysctl.conf (do a web search on how to do that).

    If you want to fix the original issue, i.e. why they're being created, you're going to need to analyse those core files, which is an art form in itself. Most commonly, I find that core files are created if you use a custom compiled kernel, rather than the one provides by the OS vendor, or if you've upgraded other parts of the OS outside of the OS vendors supplied updates (e.g. glibc ).

    Just incase it's a dodgy file issue, /scripts/upcp --force wouldn't be amiss.
     
  3. adapter

    adapter Well-Known Member
    PartnerNOC

    Joined:
    Sep 17, 2003
    Messages:
    391
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    thank you for the info, i use rpm kernel, i thought that these core files was releated to Horde and not system files.

    thank you
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You can just delete them.
     
  5. ninja_byte

    ninja_byte Member

    Joined:
    May 6, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I noticed within the core files certain errors concerning the horde database - most often the tables 'horde_sessionhandler' and 'horde_prefs'. On my system, I did the following:

    cd /var/lib/mysql/horde
    myisamchk *.MYI 2>&1 |grep corrupt
    (it might list some corrupt tables at this point)
    myisamchk -r <corrupt_table>.MYI

    Hope that helps... it's certainly not the universal answer, but it fixed one of my machines =)
     
Loading...

Share This Page