• 24-12-2006, 23:05:47
    #1
    Shoutcast ta açtığım radyoda limiti 2000 yapmama rağmen 1016 kullanıcı olunca daha fazlası dinleyemiyor. Konuyla ilgili
    http://forums.winamp.com/showthread.php?threadid=245299&highlight=1016
    adresinde bir yazı var. Yazılanları yaptım ama sonuç çıkmadı. Bu sorunu nasıl aşabilirim
  • 24-12-2006, 23:07:33
    #2
    Misafir
    ......................
  • 24-12-2006, 23:09:16
    #3
    Kurumsal PLUS
    cat /etc/security/limits.conf

    yazarmısın bi amca çıkan sonuçları bide

    ulimit -a
  • 24-12-2006, 23:28:55
    #4
    cat /etc/security/limits.conf :
    #* soft core 0
    #* hard rss 10000
    #@student hard nproc 20
    #@faculty soft nproc 20
    #@faculty hard nproc 50
    #ftp hard nproc 0
    #@student - maxlogins 4

    ulimit -a :

    core file size (blocks, -c) unlimited
    data seg size (kbytes, -d) unlimited
    file size (blocks, -f) unlimited
    pending signals (-i) 32623
    max locked memory (kbytes, -l) 32
    max memory size (kbytes, -m) unlimited
    open files (-n) 8000
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    stack size (kbytes, -s) 10240
    cpu time (seconds, -t) unlimited
    max user processes (-u) 32623
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited
  • 24-12-2006, 23:29:42
    #5
    Misafir
    ......................
  • 24-12-2006, 23:39:39
    #6
    o da değil Sanırım sorun şurada:


  • 24-12-2006, 23:41:34
    #7
    Misafir
    ......................
  • 25-12-2006, 08:12:20
    #8
    ulimit -n 8000
    ulimit -u
    yapıyor değerleri değiştiriyor. ulimit -a yaptığım zaman yeni değerler çıkıyor. Fakat putty i kapatıp tekrar bağlandığım zaman eski değerlere dönüyor. Değerleri nasıl kaydedebilirim.
  • 25-12-2006, 08:38:54
    #9
    Misafir
    BSD tabanlı bir çözüm buldum


    Andy B,
    
    Also, Panther supports using /etc/sysctl.conf to set sysctl values. The /etc/rc startup script is setup to read from the /etc/sysctl.conf file which it doesn't exist by default. You could create a 'sysctl.conf' file and put your changes there by running in Terminal.app:
    
    % pico /etc/sysctl.conf 
    
    and then writing the following lines to it:
    
    kern.maxfilesperproc=20480 
    kern.maxfiles=22528
    
    You can also check the current system limits with:
    
    [pm @ Sao: ~] % sysctl kern | grep max
    kern.ipc.maxsockbuf: 262144
    kern.ipc.somaxconn: 128
    kern.ipc.maxsockets: 512
    kern.sysv.shmmax: 4194304
    kern.maxvnodes = 25600
    kern.maxproc = 532
    kern.maxfiles = 12288
    kern.argmax = 262144
    kern.maxfilesperproc = 10240
    kern.maxprocperuid = 100
    kern.aiomax = 90
    kern.aioprocmax = 16