Bug #38122 | main.mysqlslap fails sporadically | ||
---|---|---|---|
Submitted: | 15 Jul 2008 7:41 | Modified: | 29 Oct 2009 14:01 |
Reporter: | Alexander Nozdrin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Tools: Pushbuild | Severity: | S3 (Non-critical) |
Version: | 1 | OS: | Any |
Assigned to: | Daniel Fischer | CPU Architecture: | Any |
Tags: | hw, pb1, pushbuild, sporadic, test failure |
[15 Jul 2008 7:41]
Alexander Nozdrin
[29 Jul 2008 16:04]
BJ Dierkes
Sorry if I'm missing something, however the error seems to imply that you are out of disk space: Error: disk is full
[6 Aug 2008 14:17]
Matthias Leich
BJ Dierkes is right. mysqlslap fails because the disk is full. Some statistics based on a query with xref Test name: main.mysqlslap Test output match (LIKE): Disk is full on our internal Pushbuild database gives the following distribution of matches - 26 at all - 23 MySQL 6.0, 3 MySQL 5.1 - 25 Linux 64 Bit on sapsrv2 (use of tmpfs for filesystem containing VARDIR/TMPDIR) 1 Solaris 10 box (no info about FS used) - all types of replication and ps/no ps protocol appear - failing test runs between 2007-12 and 2008-07 - At least sometimes not only mysqlslap fails with a message about "disk is full". Some statistics based on a query with xref Test output match (LIKE): Disk is full on our internal Pushbuild database gives the following distribution of matches - 722 at all - 110 sapsrv2, 26 debx86-b, 206 vm-win2003-32-a, 93 sapsrv1 - boxes which appear most often within the last 2 months: sapsrv2, vm-win2003-32-a, sapsrv1 Some experiments on my Linux box (MySQL 5.1): - The maximum disk space consumption of the main test stuff (VARDIR,TMPDIR) was ~ 12.5 MB which is around the same amount for the "simple" test alias. - The maximum virtual memory size (ps -e -o vsize,command | egrep -e "VSZ|lt-mysqlslap") of the mysqlslap process was ~ 128 MB. - It does not look like the mysqlslap memory consumption increases with the lifetime of the process. Conclusions: - There seems to be no correlation to a certain type of test (ps, replication method, ...) or OS (We have to take the huge amount of successful runs on Linux 64 Bit in general into account). - The observed maximum space consumption of ~ 12.5 MB for test related data (files for protocols/tables,..) do not indicate that the test is too "greedy". - IMHO the maximum virtual memory size of the mysqlslap process of ~ 128 MB is the most critical part of this test. But it could not be said that this process is not acceptable "greedy". There are other tests which also fail sporadically with Disk is full. - It looks like the bug reported is a temporary bad state on the box used for testing. The testing box sapsrv2 appears quite often. I assume this box suffers sometimes from a combination of heavy load and too small swap space. I propose one or a combination of the following actions for all testing boxes showing "disk is full" problems 1. Increase the swap space and maybe add RAM to sapsrv2 and sapsrv1 2. Reduce the use of tmpfs (some other parallel tests might store a lot of data in VARDIR/TMPDIR located in tmpfs) on sapsrv2 and sapsrv1 3. Decrease the load (parallel processes consuming significant amount of virtual memory) on sapsrv2 and sapsrv1 It could be that the problem with sapsrv1 is already fixed because the last problem was 2008-06-11. 4. I do not know what to do in case of vm-win2003-32-a. I will set - Category to "Pushbuild" We have unfortunately no category "Pushbuild - testing box configuration mismatch" - Lead to "Daniel Fisher" - Remove the assignment to me
[18 Feb 2009 13:54]
Lars Heill
Reported for server versions 5.1,6.0.
[29 Oct 2009 14:01]
Daniel Fischer
Closing because we don't use this host anymore.