LINUX.ORG.RU

MPD. error: Connection closed by the server

 , , , , quimup


0

2

Химичил-химичил я со своим rc.lua (awesome wm), и внезапно mpd перестал откликаться. запущенные ранее клиенты с ним работают без проблем, запущенные после, и вызовы от mpc — никак. ни от юзера, ни от рута.

какие логи/конфиги приложить?

Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:05 : client: Max Connections Reached!
Oct 05 05:06 : client: Max Connections Reached!

вот этим засрат весь лог.

funeralismatic ★★★
() автор топика

ничего не откопал.

вот конфиг:

cat /etc/mpd.conf | grep -v "#"                  

music_directory			"/mnt/funeralismatic/data/music"
playlist_directory		"/home/funeralismatic/.config/mpd/playlists"
db_file			"/home/funeralismatic/.config/mpd/mpd.db"
log_file			"/home/funeralismatic/.config/mpd/mpd.log"
pid_file			"/home/funeralismatic/.config/mpd/pid"
state_file			"/home/funeralismatic/.config/mpd/state"
sticker_file			"/home/funeralismatic/.config/mpd/mpd.sql"
bind_to_address		"localhost"
port				"6600"
save_absolute_paths_in_playlists	"yes"
auto_update	"yes"
follow_outside_symlinks	"yes"
follow_inside_symlinks		"yes"

input {
        plugin "curl"
}

audio_output {
	type		"alsa"
	name		"My ALSA Device"
}

audio_output {
    type                    "fifo"
    name                    "my_fifo"
    path                    "/tmp/mpd.fifo"
    format                  "44100:16:2"
}
куда ещё смотреть — ума не приложу.

funeralismatic ★★★
() автор топика
       max_connections <number>
              This specifies the maximum number of clients that can be connected to mpd.
              The default is 5.

А лучше разберись, почему один скрипт несколько раз коннектится к серверу.

si0 ★★★
()
Ответ на: комментарий от si0

кажется, разобрался. у меня mpdscribble был запущен оверполсотни экземпляров. я это просёк, только когда у меня проц сожрало до 100.

будем считать, что решено.

funeralismatic ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.