OpenVZ Forum


Home » General » Support » Error: splice is used by ... during online migration
Error: splice is used by ... during online migration [message #34196] Fri, 12 December 2008 18:49 Go to next message
zeek is currently offline  zeek
Messages: 3
Registered: December 2008
Junior Member
I'm running openvz in Gentoo 64bit. I think I have all the basics working, networking, migration, limits, etc. I am using xfs which means no support for quotas or migration, but I read somewhere that migration should work on xfs so I modified the kernel module vzcpt by adding xfs to the list of supported fs. With this change I was able to get online migration working:

vz2 log # vzmigrate -r no --online -v vz3 1002
OPT:-r
OPT:--online
OPT:-v
OPT:vz3
Starting online migration of VE 1002 on vz3
 * status:  started
    Loading /etc/vz/vz.conf and /etc/vz/conf/1002.conf files
    Check IPs on destination node: 10.0.0.133
Preparing remote node
    Copying config file
1002.conf                                                                       100% 1722     1.7KB/s   1.7KB/s   00:00
Saved parameters for VE 1002
    Creating remote VE root dir
    Creating remote VE private dir
    VZ disk quota disabled -- skipping quota migration
Syncing private
Live migrating VE
    Suspending VE
Setting up checkpoint...
        suspend...
        get context...
Checkpointing completed succesfully
    Dumping VE
Setting up checkpoint...
        join context..
        dump...
Checkpointing completed succesfully
    Copying dumpfile
dump.1002                                                                       100% 3785KB   3.7MB/s   3.7MB/s   00:00
    Syncing private (2nd pass)
    VZ disk quota disabled -- skipping quota migration
    Undumping VE
Restoring VE ...
Starting VE ...
VE is mounted
        undump...
Adding IP address(es): 10.0.0.133
Setting CPU units: 1000
Configure meminfo: 2048576
        get context...
VE start in progress...
Restoring completed succesfully
    Resuming VE
Resuming...
    Times:
        Suspend + Dump:  0.153938
        Copy dump file:  0.440928
        Second rsync:    -1.22911e+09
        2nd level quota:         -1.22911e+09
        Undump + Resume:         2.19099
    Total time: 4.33484
Cleanup
    Killing VE
Killing...
VE is unmounted
    Removing dumpfiles
vz2 log # vzlist
VE not found


However when I start apache2 in the VE it wont migrate anymore "Error: splice is used by 13496,25533(apache2)". Is this a known problem migrating apache or is it related to xfs?

Problematic migration:
vz2 log # vzmigrate -r no --online -v vz3 1002
OPT:-r
OPT:--online
OPT:-v
OPT:vz3
Starting online migration of VE 1002 on vz3
 * status:  started
    Loading /etc/vz/vz.conf and /etc/vz/conf/1002.conf files
    Check IPs on destination node: 10.0.0.133
Preparing remote node
    Copying config file
1002.conf                                                                       100% 1722     1.7KB/s   1.7KB/s   00:00
Saved parameters for VE 1002
    Creating remote VE root dir
    Creating remote VE private dir
    VZ disk quota disabled -- skipping quota migration
Syncing private
Live migrating VE
    Suspending VE
Setting up checkpoint...
        suspend...
        get context...
Checkpointing completed succesfully
    Dumping VE
Setting up checkpoint...
        join context..
        dump...
Can not dump VE: Device or resource busy
Error: splice is used by 13496,25533(apache2)
Checkpointing failed
Error:  Failed to dump VE
Resuming...

Re: Error: splice is used by ... during online migration [message #34230 is a reply to message #34196] Mon, 15 December 2008 12:37 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

http://bugzilla.openvz.org/show_bug.cgi?id=881
http://bugzilla.openvz.org/show_bug.cgi?id=1117
Previous Topic: Error on apt-get upgrade
Next Topic: MySQL performance inside VE
Goto Forum:
  


Current Time: Fri Aug 30 05:46:14 GMT 2024

Total time taken to generate the page: 0.03321 seconds