* [sisyphus] OpenVZ/ sshd/ mysqldump / сломался
@ 2009-05-13 11:49 Michael Bykov
2009-05-13 12:19 ` Afanasov Dmitry
0 siblings, 1 reply; 8+ messages in thread
From: Michael Bykov @ 2009-05-13 11:49 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
салют,
Только что - не могу зайти на OpenVZ
$ ssh store.rinet.net -p 10522
ssh: ssh_exchange_identification: Connection closed by remote host
Захожу рутом:
enter 105, ...
# mysqldump -u rsuh -p warehouse_p > /home/michael/sql/wp-13-05.sql
Enter password:
mysqldump: Got error: 2001: Can't create UNIX socket (12) when trying to connect
А дамп у меня ночью делался, то есть дампа за весь сегодняшний день нету.
Куда смортеть, чтобы всё-таки дамп сделать.
OpenVZ после рестарта контейнера поднимется, такое уже было. А вот
поднимется ли SQL?
М.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] OpenVZ/ sshd/ mysqldump / сломался
2009-05-13 11:49 [sisyphus] OpenVZ/ sshd/ mysqldump / сломался Michael Bykov
@ 2009-05-13 12:19 ` Afanasov Dmitry
2009-05-13 12:30 ` Michael Bykov
0 siblings, 1 reply; 8+ messages in thread
From: Afanasov Dmitry @ 2009-05-13 12:19 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
On Wed, May 13, 2009 at 03:49:24PM +0400, Michael Bykov wrote:
> ssh: ssh_exchange_identification: Connection closed by remote host
> mysqldump: Got error: 2001: Can't create UNIX socket (12) when trying to connect
что там с количеством доступных сокетов? всех трех типов? вот не упомню,
как звать их - ovz под рукой нет глянуть.
--
С уважением
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] OpenVZ/ sshd/ mysqldump / сломался
2009-05-13 12:19 ` Afanasov Dmitry
@ 2009-05-13 12:30 ` Michael Bykov
2009-05-13 12:44 ` Afanasov Dmitry
0 siblings, 1 reply; 8+ messages in thread
From: Michael Bykov @ 2009-05-13 12:30 UTC (permalink / raw)
To: Afanasov Dmitry, ALT Linux Sisyphus discussions
13 мая 2009 г. 16:19 пользователь Afanasov Dmitry <ender@altlinux.org> написал:
> On Wed, May 13, 2009 at 03:49:24PM +0400, Michael Bykov wrote:
>> ssh: ssh_exchange_identification: Connection closed by remote host
>> mysqldump: Got error: 2001: Can't create UNIX socket (12) when trying to connect
>
> что там с количеством доступных сокетов? всех трех типов? вот не упомню,
> как звать их - ovz под рукой нет глянуть.
> --
> С уважением
> Афанасов Дмитрий
После рестарта ovz всё восстановилось. Места на диске, и всех
параметров там выше крыши, вот так настраивал:
vzctl set 105 --diskspace 18G:20G --save
vzctl set 105 --numproc 1024 --kmemsize 536870912:636870912
--lockedpages 4096:4096 --privvmpages 524288:584288 --othersockbuf
1819200 --save
Теперь сделаю дамп ежечасный, а не раз в сутки. Но что это было?
М.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] OpenVZ/ sshd/ mysqldump / сломался
2009-05-13 12:30 ` Michael Bykov
@ 2009-05-13 12:44 ` Afanasov Dmitry
2009-05-13 12:55 ` Konstantin A. Lepikhov
0 siblings, 1 reply; 8+ messages in thread
From: Afanasov Dmitry @ 2009-05-13 12:44 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 848 bytes --]
On Wed, May 13, 2009 at 04:30:09PM +0400, Michael Bykov wrote:
> 13 мая 2009 г. 16:19 пользователь Afanasov Dmitry <ender@altlinux.org> написал:
> > On Wed, May 13, 2009 at 03:49:24PM +0400, Michael Bykov wrote:
> >> ssh: ssh_exchange_identification: Connection closed by remote host
> >> mysqldump: Got error: 2001: Can't create UNIX socket (12) when trying to connect
> >
> > что там с количеством доступных сокетов? всех трех типов? вот не упомню,
> > как звать их - ovz под рукой нет глянуть.
>
> После рестарта ovz всё восстановилось.
конечно. все сокеты/файлы закрылись, все счетчики освободились.
> vzctl set 105 --numproc 1024 --kmemsize 536870912:636870912
> --lockedpages 4096:4096 --privvmpages 524288:584288 --othersockbuf
> 1819200 --save
окромя othersockbuf есть ещё параметры.
--
С уважением
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] OpenVZ/ sshd/ mysqldump / сломался
2009-05-13 12:44 ` Afanasov Dmitry
@ 2009-05-13 12:55 ` Konstantin A. Lepikhov
2009-05-13 13:08 ` Afanasov Dmitry
2009-05-13 14:10 ` Slava Dubrovskiy
0 siblings, 2 replies; 8+ messages in thread
From: Konstantin A. Lepikhov @ 2009-05-13 12:55 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 770 bytes --]
Hi Afanasov!
Wednesday 13, at 04:44:08 PM you wrote:
> On Wed, May 13, 2009 at 04:30:09PM +0400, Michael Bykov wrote:
> > 13 мая 2009 г. 16:19 пользователь Afanasov Dmitry <ender@altlinux.org> написал:
> > > On Wed, May 13, 2009 at 03:49:24PM +0400, Michael Bykov wrote:
> > >> ssh: ssh_exchange_identification: Connection closed by remote host
> > >> mysqldump: Got error: 2001: Can't create UNIX socket (12) when trying to connect
> > >
> > > что там с количеством доступных сокетов? всех трех типов? вот не упомню,
> > > как звать их - ovz под рукой нет глянуть.
> >
> > После рестарта ovz всё восстановилось.
> конечно. все сокеты/файлы закрылись, все счетчики освободились.
Счетчики превышений после рестарта не освобождаются.
--
WBR et al.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] OpenVZ/ sshd/ mysqldump / сломался
2009-05-13 12:55 ` Konstantin A. Lepikhov
@ 2009-05-13 13:08 ` Afanasov Dmitry
2009-05-13 14:10 ` Slava Dubrovskiy
1 sibling, 0 replies; 8+ messages in thread
From: Afanasov Dmitry @ 2009-05-13 13:08 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 446 bytes --]
On Wed, May 13, 2009 at 04:55:20PM +0400, Konstantin A. Lepikhov wrote:
> Hi Afanasov!
> > On Wed, May 13, 2009 at 04:30:09PM +0400, Michael Bykov wrote:
> > > После рестарта ovz всё восстановилось.
> > конечно. все сокеты/файлы закрылись, все счетчики освободились.
> Счетчики превышений после рестарта не освобождаются.
fails counts, третий столбик - верно, но я полагал речь идет о первом
столбике.
--
С уважением
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] OpenVZ/ sshd/ mysqldump / сломался
2009-05-13 12:55 ` Konstantin A. Lepikhov
2009-05-13 13:08 ` Afanasov Dmitry
@ 2009-05-13 14:10 ` Slava Dubrovskiy
2009-05-13 14:26 ` Konstantin A. Lepikhov
1 sibling, 1 reply; 8+ messages in thread
From: Slava Dubrovskiy @ 2009-05-13 14:10 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 463 bytes --]
Konstantin A. Lepikhov пишет:
>>> После рестарта ovz всё восстановилось.
>>>
>> конечно. все сокеты/файлы закрылись, все счетчики освободились.
>>
> Счетчики превышений после рестарта не освобождаются.
>
После 2-3 рестартов подрят освобождаются :)
--
WBR,
Dubrovskiy Vyacheslav
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3262 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] OpenVZ/ sshd/ mysqldump / сломался
2009-05-13 14:10 ` Slava Dubrovskiy
@ 2009-05-13 14:26 ` Konstantin A. Lepikhov
0 siblings, 0 replies; 8+ messages in thread
From: Konstantin A. Lepikhov @ 2009-05-13 14:26 UTC (permalink / raw)
To: sisyphus
Hi Slava!
Wednesday 13, at 05:10:57 PM you wrote:
> Konstantin A. Lepikhov пишет:
> >>> После рестарта ovz всё восстановилось.
> >>>
> >> конечно. все сокеты/файлы закрылись, все счетчики освободились.
> >>
> > Счетчики превышений после рестарта не освобождаются.
> >
> После 2-3 рестартов подрят освобождаются :)
Какие же это тогда счетчики ;)
--
WBR et al.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-05-13 14:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-13 11:49 [sisyphus] OpenVZ/ sshd/ mysqldump / сломался Michael Bykov
2009-05-13 12:19 ` Afanasov Dmitry
2009-05-13 12:30 ` Michael Bykov
2009-05-13 12:44 ` Afanasov Dmitry
2009-05-13 12:55 ` Konstantin A. Lepikhov
2009-05-13 13:08 ` Afanasov Dmitry
2009-05-13 14:10 ` Slava Dubrovskiy
2009-05-13 14:26 ` Konstantin A. Lepikhov
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git