VirtualBox

Ticket #2172 (closed defect: worksforme)

Opened 6 years ago

Last modified 4 years ago

VM Hangs (high CPU) after performing huge I/O in the guest

Reported by: singh.gurjeet Owned by:
Priority: major Component: other
Version: VirtualBox 1.6.4 Keywords: High CPU Vista Ubuntu Server
Cc: singh.gurjeet@… Guest type: Linux
Host type: Windows

Description

Host: Windows Vista Business (with all the updates applied) Guest: Ubuntu Server 8.04, on 64MB RAM, Host networking over wireless, using DHCP. Running in Headless mode using VBoxHeadless.exe H/W: Lenovo Thinkpad R61i, with 2GB RAM, Intel Centrino Duo. S/W on Guest: .) Corrected Console framebuffer with 'vga=771' (or something similar) on the kernel line. .) Using apt-get, installed 'cvs make gcc libc-devel readline-dev flex bison'. .) Downloaded (using CVS), compiled (with no custom flags to ./configure), installed and running PostgreSQL DB version 8.3.3. .) Running 6 instances of a bash script that scrapes web and inserts data into Postgres database.

Initial diagnosis done using ProcessExplorer, some screenshots attached showing the call-stack of the thread consuming most of the CPU because it is performing so many Context-Switches (sometimes as high as 31600 per second)!

I performed a SELECT on a Postgres 8.3.3 database table that was about 50MB in size, and saw that the for about three minutes the VM performed huge I/O; 11-13 MB/s of read and 1-4 MB/s write. After this, the I/O storm stopped just as immediately as it started, but now the VM started consuming huge CPU!

The VM has been running for over half an hour now, consuming 100% of CPU on one of my 2 CPUs. I have paused and restarted the VM from GUI twice in the hopes of resetting some state and bringing the VM to normalcy, but to no avail!!!

I'll keep this VM running for next few hours or so, so that I can provide some useful info, if somebody asks.

Attachments

Logs.zip Download (29.8 KB) - added by singh.gurjeet 6 years ago.
Logfiles
1.jpg Download (236.2 KB) - added by singh.gurjeet 6 years ago.
StackTrace screenshot 1
2.jpg Download (226.4 KB) - added by singh.gurjeet 6 years ago.
StackTrace screenshot 2
3.jpg Download (202.0 KB) - added by singh.gurjeet 6 years ago.
StackTrace screenshot 3
4.jpg Download (223.4 KB) - added by singh.gurjeet 6 years ago.
StackTrace screenshot 4
5.jpg Download (232.8 KB) - added by singh.gurjeet 6 years ago.
StackTrace screenshot 5

Change History

Changed 6 years ago by singh.gurjeet

Logfiles

Changed 6 years ago by singh.gurjeet

StackTrace screenshot 1

Changed 6 years ago by singh.gurjeet

StackTrace screenshot 2

Changed 6 years ago by singh.gurjeet

StackTrace screenshot 3

Changed 6 years ago by singh.gurjeet

StackTrace screenshot 4

Changed 6 years ago by singh.gurjeet

StackTrace screenshot 5

comment:1 Changed 6 years ago by singh.gurjeet

After about one hour, the VM is still consuming 100%CPU (Shows 50% in ProcessExplorer since it is a 2 CPU box). I am pausing this VM, and will restart if somebody needs some runtime data.

comment:2 Changed 4 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to worksforme

Please reopen if it still applies to 3.1.6.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use