[sheepdog-users] dog memory leak

Hitoshi Mitake mitake.hitoshi at gmail.com
Fri Oct 9 03:38:29 CEST 2015


Thanks for your report, I added an issue:
https://github.com/sheepdog/sheepdog/issues/183

Thanks,
Hitoshi

On Thu, Oct 8, 2015 at 11:54 PM, Valerio Pachera <sirio81 at gmail.com> wrote:
> dog vdi check -s 1 data
>
> sheep.log
> Oct 08 16:47:42  ERROR [main] create_worker_threads(256) failed to create
> worker thread: Cannot allocate memory
>
> free -m  (when do is not running)
>              total       used       free     shared    buffers     cached
> Mem:         15984        238      15746          3         31         42
> -/+ buffers/cache:        164      15820
> Swap:        30517        190      30327
>
> top (while do vdi check was running)
> top - 16:45:44 up 8 days, 23:28,  2 users,  load average: 3,17, 1,25, 0,50
> Tasks: 127 total,   2 running, 125 sleeping,   0 stopped,   0 zombie
> %Cpu(s):  0,2 us, 28,7 sy,  0,0 ni, 41,3 id, 27,4 wa,  0,0 hi,  2,5 si,  0,0
> st
> KiB Mem:  16368424 total, 16194692 used,   173732 free,     1544 buffers
> KiB Swap: 31250424 total, 14826688 used, 16423736 free.    10936 cached Mem
>
>   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
>    38 root      20   0       0      0      0 R  49,9  0,0   3:02.89 kswapd0
>  8850 root      20   0 29,392g 0,015t   1284 S  45,2 96,2   1:37.88 dog
> 20784 root      20   0 2321860   7676   1000 S  26,5  0,0  52:57.58 sheep
>
>
>
> dog vdi list
>   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies
> Tag   Block Size Shift
>   wheezy01     0   10 GB  2.7 GB  0.0 MB 2015-10-03 16:30   9c9542    2:2
> 22
> s data         1  1.0 TB  197 GB  0.0 MB 2015-10-03 16:34   a34a05    2:2
> 22
> s data         2  1.0 TB  1.5 GB  197 GB 2015-10-03 18:01   a34a06    2:2
> 22
> s data         3  1.0 TB  127 GB  198 GB 2015-10-03 18:18   a34a07    2:2
> 22
> s data         4  1.0 TB  4.0 MB  325 GB 2015-10-03 19:07   a34a08    2:2
> 22
> s data         5  1.0 TB  0.0 MB  325 GB 2015-10-04 12:28   a34a09    2:2
> 22
> s data         6  1.0 TB  0.0 MB  325 GB 2015-10-05 12:28   a34a0a    2:2
> 22
> s data         7  1.0 TB  0.0 MB  325 GB 2015-10-06 12:28   a34a0b    2:2
> 22
> s data         8  1.0 TB  0.0 MB  325 GB 2015-10-07 12:28   a34a0c    2:2
> 22
>   data         0  1.0 TB  0.0 MB  325 GB 2015-10-08 12:28   a34a0d    2:2
> 22
>
> dog node list
>   Id   Host:Port         V-Nodes       Zone
>    0   192.168.6.44:7000        645  738633920
>    1   192.168.6.45:7000        644  755411136
>    2   192.168.6.47:7000        324  788965568
>    3   192.168.6.48:7000        432  805742784
>
> dog node info
> Id      Size    Used    Avail   Use%
>  0      2.5 TB  164 GB  2.4 TB    6%
>  1      2.5 TB  164 GB  2.3 TB    6%
>  2      1.3 TB  164 GB  1.1 TB   12%
>  3      1.7 TB  164 GB  1.5 TB    9%
> Total   8.0 TB  658 GB  7.3 TB    8%
>
> Total virtual image size        1.0 TB
>
>
> dg cluster info -v
> -bash: dg: comando non trovato
> dog cluster info -v
> Cluster status: running, auto-recovery enabled
> Cluster store: plain with 2:2 redundancy policy
> Cluster vnodes strategy: auto
> Cluster vnode mode: disk
> Cluster created at Sat Oct  3 16:30:34 2015
>
> Epoch Time           Version [Host:Port:V-Nodes,,,]
> 2015-10-06 10:30:06      3 [192.168.6.44:7000:645(2),
> 192.168.6.45:7000:644(3), 192.168.6.47:7000:324(3),
> 192.168.6.48:7000:432(1)]
> 2015-10-06 10:29:23      2 [192.168.6.45:7000:644(3),
> 192.168.6.47:7000:324(3), 192.168.6.48:7000:432(1)]
> 2015-10-03 16:30:38      1 [192.168.6.44:7000:645(2),
> 192.168.6.45:7000:644(3), 192.168.6.47:7000:324(3),
> 192.168.6.48:7000:432(1)]
>
>
> --
> sheepdog-users mailing lists
> sheepdog-users at lists.wpkg.org
> https://lists.wpkg.org/mailman/listinfo/sheepdog-users
>


More information about the sheepdog-users mailing list