Re: [systemd-devel] [PATCH] Circumvent autofs_v5_packet_union size bug

2011-09-17 Thread Alexander E. Patrakov
16.09.2011 18:09, Thomas Meyer wrote: +if (pkt_len % 8) { +if (strcmp(un.machine, "alpha") == 0 || +strcmp(un.machine, "ia64") == 0 || +strcmp(un.machine, "x86_64") == 0 || +strcmp(un.machine, "ppc64") == 0) +

Re: [systemd-devel] After upgrading glibc: Received environment initctl request

2011-09-17 Thread Marti Raudsepp
On Fri, Sep 9, 2011 at 13:57, Marti Raudsepp wrote: > I'm using systemd 35 on Arch Linux testing. Recently I had an upgrade > for the glibc package and following that, I couldn't use sysvinit's > /sbin/reboot -- the command would broadcast its message, wait for a > few seconds and then quit. 'syst

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-17 Thread Reindl Harald
thank you! after a reboot the changes in "/etc/security/limits.conf", "/etc/sysctl.conf" and "mysqld.service" are working, what i never understood is "hugetlb_shm_group" because what if you have more thane one software wanting use Hughe TLB, anyways this is off topic regards from vienna Am 1

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-17 Thread Thomas Meyer
Am Samstag, den 17.09.2011, 13:22 +0200 schrieb Reindl Harald: > /etc/sysctl.conf: > # Hughe TLB for mysqld > vm.nr_hugepages = 200 > vm.hugetlb_shm_group = 27 > kernel.shmall = 2097152 > > mysqld says: > InnoDB: HugeTLB: Warning: Failed to allocate 274726912 bytes. errno 12 > InnoDB HugeTLB: Warn

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-17 Thread Tom Gundersen
On Sat, Sep 17, 2011 at 1:22 PM, Reindl Harald wrote: > /etc/sysctl.conf: > # Hughe TLB for mysqld > vm.nr_hugepages = 200 > vm.hugetlb_shm_group = 27 > kernel.shmall = 2097152 Did you reboot (or "systemctl restart systemd-sysctl.service") to make sure these things were picked up? Could you veri

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-17 Thread Jóhann B. Guðmundsson
On 09/17/2011 10:57 AM, Reindl Harald wrote: with sysv/lsb you could include the follwoing script via "source" and hughe TLB in mysqld worked like a charme [root@rh:~]$ cat /etc/my.memory.cnf # Large-Memory-Pages echo 200> /proc/sys/vm/nr_hugepages echo 27> /proc/sys/vm/hugetlb_shm_group echo

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-17 Thread Reindl Harald
/etc/sysctl.conf: # Hughe TLB for mysqld vm.nr_hugepages = 200 vm.hugetlb_shm_group = 27 kernel.shmall = 2097152 mysqld says: InnoDB: HugeTLB: Warning: Failed to allocate 274726912 bytes. errno 12 InnoDB HugeTLB: Warning: Using conventional memory pool so how get the same behavior working until F

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-17 Thread Reindl Harald
"man sysctl.d" says exactly nothing how i get the same behavior as all the years before via /etc/init.d/mysqld maybe YOU are knowing exactly what to do where i do not and that is why i wrote my message :-( Am 17.09.2011 13:04, schrieb Thomas Meyer: Am Samstag, den 17.09.2011, 12:57 +0200 schrieb

Re: [systemd-devel] systemd and mysql with large memory pages

2011-09-17 Thread Thomas Meyer
Am Samstag, den 17.09.2011, 12:57 +0200 schrieb Reindl Harald: hello harald, > with sysv/lsb you could include the follwoing script via "source" > and hughe TLB in mysqld worked like a charme > > [root@rh:~]$ cat /etc/my.memory.cnf > # Large-Memory-Pages > echo 200 > /proc/sys/vm/nr_hugepages > e

[systemd-devel] systemd and mysql with large memory pages

2011-09-17 Thread Reindl Harald
with sysv/lsb you could include the follwoing script via "source" and hughe TLB in mysqld worked like a charme [root@rh:~]$ cat /etc/my.memory.cnf # Large-Memory-Pages echo 200 > /proc/sys/vm/nr_hugepages echo 27 > /proc/sys/vm/hugetlb_shm_group echo 2097152 > /proc/sys/kernel/shmall ulimit -l unl

Re: [systemd-devel] Xinetd to systemd unit files.

2011-09-17 Thread Stefan G. Weichinger
Am 17.09.2011 01:12, schrieb "Jóhann B. Guðmundsson": > Hum the maintainer says the tcp one works just fine in comment 17 but > udp does not work out > > "It seems that tcp works fine. With udp amanda won't start when I try to > connect, but I wasn't able to find why." > > However he has not com