* [Comm] 1c и samba
@ 2005-05-04 14:32 max
2005-05-04 14:34 ` Michael Isachenkov
0 siblings, 1 reply; 13+ messages in thread
From: max @ 2005-05-04 14:32 UTC (permalink / raw)
To: community
Нужно сделать базу 1с на sambe.
Слышал, что линукс имеет ограничение на открытие большого кол-ва файлов.
Это вроде просто правится, но где?
Никак найти не могу. Подскажите, люди добрые, очень нужно срочно сделать,
времени на эксперименты нет.
--
MaX
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] 1c и samba
2005-05-04 14:32 [Comm] 1c и samba max
@ 2005-05-04 14:34 ` Michael Isachenkov
2005-05-04 15:22 ` Michael Isachenkov
0 siblings, 1 reply; 13+ messages in thread
From: Michael Isachenkov @ 2005-05-04 14:34 UTC (permalink / raw)
To: community
> Слышал, что линукс имеет ограничение на открытие большого кол-ва файлов.
> Это вроде просто правится, но где?
/etc/security/limits.conf
ulimit -n число
только что убедился, как это знатно глючит в Fedora Core
--
Best regards, Michael Isachenkov
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] 1c и samba
2005-05-04 14:34 ` Michael Isachenkov
@ 2005-05-04 15:22 ` Michael Isachenkov
2005-05-04 22:32 ` Vitaly Lipatov
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Michael Isachenkov @ 2005-05-04 15:22 UTC (permalink / raw)
To: community
>
> > Слышал, что линукс имеет ограничение на открытие большого кол-ва файлов.
> > Это вроде просто правится, но где?
>
> /etc/security/limits.conf
> ulimit -n число
>
> только что убедился, как это знатно глючит в Fedora Core
Да, кстати о птицах. в ALT это тоже работает достаточно странно.
~ > cat /etc/security/limits.conf | grep nofile
# - nofile - max number of open files
* hard nofile 10240
при локальном логине
~ > ulimit -n
10240
при логине по ssh
~ > ulimit -n
1024
как бороться и где причина?
--
Best regards, Michael Isachenkov
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] 1c и samba
2005-05-04 15:22 ` Michael Isachenkov
@ 2005-05-04 22:32 ` Vitaly Lipatov
2005-05-05 11:50 ` [Comm] " max
2005-05-10 14:49 ` [Comm] " Andrew Kornilov
2 siblings, 0 replies; 13+ messages in thread
From: Vitaly Lipatov @ 2005-05-04 22:32 UTC (permalink / raw)
To: community
On Wednesday 04 May 2005 19:22, Michael Isachenkov wrote:
> ~ > cat /etc/security/limits.conf | grep nofile
> # - nofile - max number of open files
> * hard nofile 10240
А soft не надо указывать?
--
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Comm] Re: 1c и samba
2005-05-04 15:22 ` Michael Isachenkov
2005-05-04 22:32 ` Vitaly Lipatov
@ 2005-05-05 11:50 ` max
2005-05-05 12:33 ` iLL
2005-05-10 14:49 ` [Comm] " Andrew Kornilov
2 siblings, 1 reply; 13+ messages in thread
From: max @ 2005-05-05 11:50 UTC (permalink / raw)
To: community
В сообщении от 4 Май 2005 21:22 Michael Isachenkov написал(a):
> > > Слышал, что линукс имеет ограничение на открытие большого кол-ва
> > > файлов. Это вроде просто правится, но где?
> >
> > /etc/security/limits.conf
> > ulimit -n число
> >
> > только что убедился, как это знатно глючит в Fedora Core
>
> Да, кстати о птицах. в ALT это тоже работает достаточно странно.
>
> ~ > cat /etc/security/limits.conf | grep nofile
> # - nofile - max number of open files
> * hard nofile 10240
>
> при локальном логине
>
> ~ > ulimit -n
> 10240
>
> при логине по ssh
>
> ~ > ulimit -n
> 1024
>
> как бороться и где причина?
Да это ерундень какая-то!!!!
cat /etc/security/limits.conf | grep nofile
# - nofile - max number of open files
* hard nofile 10000
* soft nofile 10000
ulimit -n
1024
На соседней машине (личном десктопе ) с теми же настройками
ulimit -n
10000
Что делать-то???
Я же не могу каждый раз после запуска руками ulimit -n 10000 делать.
А скриптом в автозагрузку это не работает!
--
MaX
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Re: 1c и samba
2005-05-05 11:50 ` [Comm] " max
@ 2005-05-05 12:33 ` iLL
2005-05-06 3:34 ` max
0 siblings, 1 reply; 13+ messages in thread
From: iLL @ 2005-05-05 12:33 UTC (permalink / raw)
To: community
On Thu, 5 May 2005 17:50:20 +0600
max <alt@zlt.ru> wrote:
> В сообщении от 4 Май 2005 21:22 Michael Isachenkov написал(a):
> Да это ерундень какая-то!!!!
> cat /etc/security/limits.conf | grep nofile
> # - nofile - max number of open files
> * hard nofile 10000
> * soft nofile 10000
>
> ulimit -n
> 1024
А попробуйте для примера поставить не 10000, а 5000?
Я так однажды тоже subj настраивал и такое обнаружил.
--
===-iLya Bryzgalow aka iLL-=== _/ _/ _/
Astronomy_Linux_Krasnodar_Russia _/ _/
Linux User #301257 _/ _/ _/
ICQ:43835329 _/ _/ _/
JID://ill@jabber.org _/ _/ _/
http://astrokuban.info/ _/ _/ _/
_/ _/_/_/ _/_/_/
i don't smoke and wish you the same!
kernel-2.6.11-std26-smp-alt6 ALT Linux Sisyphus (20050419)
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Comm] Re: 1c и samba
2005-05-05 12:33 ` iLL
@ 2005-05-06 3:34 ` max
2005-05-06 3:46 ` Mike Lykov
0 siblings, 1 reply; 13+ messages in thread
From: max @ 2005-05-06 3:34 UTC (permalink / raw)
To: community
В сообщении от 5 Май 2005 18:33 iLL написал(a):
> On Thu, 5 May 2005 17:50:20 +0600
>
> max <alt@zlt.ru> wrote:
> > В сообщении от 4 Май 2005 21:22 Michael Isachenkov написал(a):
> > Да это ерундень какая-то!!!!
> > cat /etc/security/limits.conf | grep nofile
> > # - nofile - max number of open files
> > * hard nofile 10000
> > * soft nofile 10000
> >
> > ulimit -n
> > 1024
>
> А попробуйте для примера поставить не 10000, а 5000?
> Я так однажды тоже subj настраивал и такое обнаружил.
Продолжил эксперимент и обнаружил что для пользователей и для рута разные
ulimit. Для рута ulimit -n больше 1024 не поднимается.
--
MaX
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Re: 1c и samba
2005-05-06 3:34 ` max
@ 2005-05-06 3:46 ` Mike Lykov
2005-05-06 4:28 ` max
0 siblings, 1 reply; 13+ messages in thread
From: Mike Lykov @ 2005-05-06 3:46 UTC (permalink / raw)
To: community
В сообщении от Пятница 06 Май 2005 08:34 max написал:
> Продолжил эксперимент и обнаружил что для пользователей и для рута разные
> ulimit. Для рута ulimit -n больше 1024 не поднимается.
и это правильно - не надо запускать много от рута.
--
Mike Lykov
Samara, "Vesna" parfum company, System administrator
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Comm] Re: 1c и samba
2005-05-06 3:46 ` Mike Lykov
@ 2005-05-06 4:28 ` max
2005-05-06 5:53 ` Mike Lykov
2005-05-06 6:44 ` iLL
0 siblings, 2 replies; 13+ messages in thread
From: max @ 2005-05-06 4:28 UTC (permalink / raw)
To: community
В сообщении от 6 Май 2005 09:46 Mike Lykov написал(a):
> В сообщении от Пятница 06 Май 2005 08:34 max написал:
> > Продолжил эксперимент и обнаружил что для пользователей и для рута разные
> > ulimit. Для рута ulimit -n больше 1024 не поднимается.
>
> и это правильно - не надо запускать много от рута.
# ps axu|grep smbd
root 10901 0.0 0.4 7912 2532 ? S May05 0:00 /usr/sbin/smbd -D
получается что самба не может больше 1024 файлов открыть (а реально меньше,
т.к. она не одна от рута работает)?
--
MaX
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Re: 1c и samba
2005-05-06 4:28 ` max
@ 2005-05-06 5:53 ` Mike Lykov
2005-05-06 6:44 ` iLL
1 sibling, 0 replies; 13+ messages in thread
From: Mike Lykov @ 2005-05-06 5:53 UTC (permalink / raw)
To: community
В сообщении от Пятница 06 Май 2005 09:28 max написал:
> получается что самба не может больше 1024 файлов открыть (а реально меньше,
> т.к. она не одна от рута работает)?
а вы почитайте архивы samba@ или спросите там.
я не знаю причины, по которой smbd должен работать только от рута..
--
Mike Lykov
Samara, "Vesna" parfum company, System administrator
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Re: 1c и samba
2005-05-06 4:28 ` max
2005-05-06 5:53 ` Mike Lykov
@ 2005-05-06 6:44 ` iLL
1 sibling, 0 replies; 13+ messages in thread
From: iLL @ 2005-05-06 6:44 UTC (permalink / raw)
To: community
On Fri, 6 May 2005 10:28:37 +0600
max <alt@zlt.ru> wrote:
> В сообщении от 6 Май 2005 09:46 Mike Lykov написал(a):
> > В сообщении от Пятница 06 Май 2005 08:34 max написал:
> > > Продолжил эксперимент и обнаружил что для пользователей и для рута
> > > разные ulimit. Для рута ulimit -n больше 1024 не поднимается.
> >
> > и это правильно - не надо запускать много от рута.
>
> # ps axu|grep smbd
> root 10901 0.0 0.4 7912 2532 ? S May05 0:00
> /usr/sbin/smbd -D
А интересно то как!
# ps axu | grep smbd | grep root | wc -l
80
# ps axu | grep smbd | grep -v root | wc -l
4
Причем эти 4: 3 пользователя и один nobody.
По моему с этим лучше в samba@...
--
===-iLya Bryzgalow aka iLL-=== _/ _/ _/
Astronomy_Linux_Krasnodar_Russia _/ _/
Linux User #301257 _/ _/ _/
ICQ:43835329 _/ _/ _/
JID://ill@jabber.org _/ _/ _/
http://astrokuban.info/ _/ _/ _/
_/ _/_/_/ _/_/_/
i don't smoke and wish you the same!
kernel-2.6.11-std26-smp-alt6 ALT Linux Sisyphus (20050505)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] 1c и samba
2005-05-04 15:22 ` Michael Isachenkov
2005-05-04 22:32 ` Vitaly Lipatov
2005-05-05 11:50 ` [Comm] " max
@ 2005-05-10 14:49 ` Andrew Kornilov
2005-05-10 15:29 ` Eugene Ostapets
2 siblings, 1 reply; 13+ messages in thread
From: Andrew Kornilov @ 2005-05-10 14:49 UTC (permalink / raw)
To: community
Hi, Michael !
On 04 May 2005 at 18:22, "MI", Michael Isachenkov wrote:
MI> при локальном логине
MI> ~ > ulimit -n
MI> 10240
MI> при логине по ssh
MI> ~ > ulimit -n
MI> 1024
MI> как бороться и где причина?
В /etc/pam.d/ssh не указан pam_limits?
--
With best regards, Andrew Kornilov
Cheops' Law:
Nothing ever gets built on schedule or within budget.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] 1c и samba
2005-05-10 14:49 ` [Comm] " Andrew Kornilov
@ 2005-05-10 15:29 ` Eugene Ostapets
0 siblings, 0 replies; 13+ messages in thread
From: Eugene Ostapets @ 2005-05-10 15:29 UTC (permalink / raw)
To: community
10.05.05, Andrew Kornilov<andy@eva.dp.ua> написал(а):
> MI> как бороться и где причина?
> В /etc/pam.d/ssh не указан pam_limits?
Указан, но sshd до последнего времени не поддреживал исполнение
session при pam :) Работать из коробки будет только ALC 3.0...
--
С уважением,
Евгений Остапец
uin: 23747217
jid: eugene_ostapets@jabber.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-05-10 15:29 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-04 14:32 [Comm] 1c и samba max
2005-05-04 14:34 ` Michael Isachenkov
2005-05-04 15:22 ` Michael Isachenkov
2005-05-04 22:32 ` Vitaly Lipatov
2005-05-05 11:50 ` [Comm] " max
2005-05-05 12:33 ` iLL
2005-05-06 3:34 ` max
2005-05-06 3:46 ` Mike Lykov
2005-05-06 4:28 ` max
2005-05-06 5:53 ` Mike Lykov
2005-05-06 6:44 ` iLL
2005-05-10 14:49 ` [Comm] " Andrew Kornilov
2005-05-10 15:29 ` Eugene Ostapets
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git