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.

upcp duration?

Discussion in 'General Discussion' started by Daemon1, Jul 4, 2006.

  1. Daemon1

    Daemon1 Well-Known Member

    Joined:
    Nov 26, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    How long does upcp usually take? It's been over 2 hours and the script is
    still running... It just looks like the following:

    ........

    ........

    ........


    With a new line appearing each second or so, all services are down until
    this process finishes so I am just wondering if it's normal for it to
    usually take this long after an OS reload. It will be coming up to almost 4
    hours very soon... Why does it take so long?
     
  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
    Depends on what it is doing and if it's looping. Have a look at the ps output and see if that shows if it's stuck on something, otherwise use strace and look at the output for a hint.
     
  3. Daemon1

    Daemon1 Well-Known Member

    Joined:
    Nov 26, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    Do I do this in another ssh window and login twice? What commands exactly do i have to run to check those you mentioned? Thanks!
     
  4. Daemon1

    Daemon1 Well-Known Member

    Joined:
    Nov 26, 2003
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    Just then finally it said sync complete, and then went on to do perl mods or something... That's good eh? SHould be finished soon you'd think...
     
  5. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Good. It's possible that it picked on a cPanel mirror that was slow for you. Next time it could well be much quicker. I'd suggest just leaving it to finish.

    For the future, yes, open a new window and:

    ps axf

    Will show all the processes including the threads of the upcp you're running. To see what's happening, note the PID of the last process in the upcp thread and try:

    strace -f -p PID

    This could potentially give a massive amount of output which basically shows what the CPU is doing on that process, displayed in ASCII. Use <ctrl-c> to get out of it.
     
Loading...

Share This Page