search for: close_write

Displaying 20 results from an estimated 157 matches for "close_write".

2014 Jul 02
1
recording in mp3
...man section 7) and the "inotifywatch" program. You can tell inotifywatch to monitor files being written into a specific directory (or set of directories) and output a series of events when files in this directory are open or closed. What you'd probably want to do, is catch the "close_write" events (a file has been closed, and it had been opened in a mode which allows it to be written). When you see a close_write event for a recording file of the sort that Asterisk writes, you'd check to see if it's been converted to your desired format yet. If not, fire off a separate...
2009 Apr 21
3
ssh localhost yes | true
...ates a situation very much like "ssh localhost yes | true" where the ssh process never exits. http://subversion.tigris.org/issues/show_bug.cgi?id=2580 P.P.S. The last part of the debug log from ssh client when it hangs: ... debug2: channel 0: write failed debug2: channel 0: close_write debug2: channel 0: send eow debug2: channel 0: output open -> closed connection hangs at this point and sshd log looks like this: ... debug1: server_input_channel_req: channel 0 request eow at openssh.com reply 0 debug2: channel 0: rcvd eow debug2: channel 0: close_read...
2001 Dec 17
0
SSH hanging
...rtype exit-status reply 0 debug1: channel 0: rcvd eof debug1: channel 0: output open -> drain debug1: channel 0: rcvd close debug2: channel 0: no data after CLOSE debug2: channel 0: no data after CLOSE debug1: channel 0: obuf empty debug1: channel 0: output drain -> closed debug1: channel 0: close_write debug1: channel 0: send close debug1: channel 0: is dead debug1: channel_free: channel 0: status: The following connections are open: #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1) debug2: !channel_still_open. debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 0.0 seconds debug1: Bytes per...
2008 Feb 03
2
Ruby IO on brand new xserve with Leopard Server
...il values in production, but valid values in development (script/console, …) even on the xserve itself: @exe_path = `which prince`.chomp # Actually call the prince command, and pass the entire data stream back. pdf = IO.popen(path, "w+") pdf.puts(string) pdf.close_write pdf.gets(nil) When i call the commands manually from the console, they work, giving back a valid PDF file. In production mode, both are nil, bombing the application. It''s almost as if the ruby code is too fast to wait for the system call result. I''ve tried just about e...
2001 Jun 13
1
2.9p1 SCO OS 5.0.5 server and Linux client hang on exit when using X11 forwarding and protocol 2
...g O_NONBLOCK debug1: fd 4 IS O_NONBLOCK debug1: channel 0: new [X11 connection from X.X.X.X port 1482] debug1: channel 0: rcvd ieof debug1: channel 0: output open -> drain debug1: channel 0: obuf empty debug1: channel 0: output drain -> closed debug1: channel 0: send oclose debug1: channel 0: close_write debug1: channel 0: read<=0 rfd 4 len 0 debug1: channel 0: read failed debug1: channel 0: input open -> drain debug1: channel 0: close_read debug1: channel 0: input: no drain shortcut debug1: channel 0: ibuf empty debug1: channel 0: input drain -> wait_oclose debug1: channel 0: send ieof de...
2008 May 30
1
"ERR sshd: error: no more sessions" issue
...nel 98 pid 2514 May 29 14:43:07 DEBUG sshd[534]: debug2: channel 98: request exit-status confirm 0 May 29 14:43:07 DEBUG sshd[534]: debug1: session_exit_message: release channel 98 May 29 14:43:07 DEBUG sshd[534]: debug2: channel 98: write failed May 29 14:43:07 DEBUG sshd[534]: debug2: channel 98: close_write May 29 14:43:07 DEBUG sshd[534]: debug2: channel 98: output open -> closed May 29 14:43:07 DEBUG sshd[534]: debug2: channel 98: read 0 from efd 107 May 29 14:43:07 DEBUG sshd[534]: debug2: channel 98: closing read-efd 107 May 29 14:43:07 DEBUG sshd[534]: debug2: channel 98: ibuf empty May 29 14:...
2009 Jan 31
9
Maxima and Ruby Integration
I''m looking to write a javascript heavy clientside program with a something serverside backend that connects to the free maxima math program. I have extensive knowledge of ruby on rails, so I would prefer to call Maxima with ruby, but I don''t know if this is even possible. Its fairly easy to call Maxima (with a lisp implementation) using ANSI C, it is a little less easy to
2001 Jul 03
2
2.9p?: connection hangs with agent forwarding
...following output is being logged: debug1: channel 1: new [authentication agent connection] debug1: confirm auth-agent at openssh.com debug1: channel 1: rcvd eof debug1: channel 1: output open -> drain debug1: channel 1: obuf empty debug1: channel 1: output drain -> closed debug1: channel 1: close_write - On the server side, the following steps are logged: debug1: channel 3: new [accepted auth socket] debug1: channel 3: open confirm rwindow 4096 rmax 32768 debug1: channel 3: read<=0 rfd 11 len 0 debug1: channel 3: read failed debug1: channel 3: input open -> drain debug1: channel 3: close_re...
2002 May 06
2
X11 forwarding does not work as normal user
We installed openssh 3.1p1 on our Solaris 2.8 machine using gcc 2.95.2. During the installation, we modified ssh_config and sshd_config to enable X11 and agent forwarding. In sshd_config, we changed the following line to read: X11Forwarding yes In ssh_config, we changed the following two lines to read: ForwardAgent yes ForwardX11 yes Both files are set to permission readable
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
...nd ouputs a PDF file. Here is what I''m doing: command = ''"C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe" - - -q'' IO.popen(command, ''r+'') do |f| # Writing the html previously rendered in a string f.write(html_output) f.close_write # Reading the ouput and closing pdf = f.readlines f.close # Returning the pdf data pdf end This code results in a corrupted PDF file. I checked the PDF itself which shows some differences with a valid PDF file, like some missing closing tags (endstream) - but I...
2014 Jul 03
1
recording in mp3
...man section 7) and the "inotifywatch" program. You can tell inotifywatch to monitor files being written into a specific directory (or set of directories) and output a series of events when files in this directory are open or closed. What you'd probably want to do, is catch the "close_write" events (a file has been closed, and it had been opened in a mode which allows it to be written). When you see a close_write event for a recording file of the sort that Asterisk writes, you'd check to see if it's been converted to your desired format yet. If not, fire off a separate t...
2014 Jun 27
2
virt_blk BUG: sleeping function called from invalid context
...f2>] mutex_lock_nested+0x42/0x440 [<ffffffff810e1de6>] ? local_clock+0x16/0x30 [<ffffffff810fc23f>] ? lock_release_holdtime.part.28+0xf/0x200 [<ffffffff812d76a0>] kernfs_notify+0x90/0x150 [<ffffffff8163377c>] bitmap_endwrite+0xcc/0x240 [<ffffffffa00de863>] close_write+0x93/0xb0 [raid1] [<ffffffffa00df029>] r1_bio_write_done+0x29/0x50 [raid1] [<ffffffffa00e0474>] raid1_end_write_request+0xe4/0x260 [raid1] [<ffffffff813acb8b>] bio_endio+0x6b/0xa0 [<ffffffff813b46c4>] blk_update_request+0x94/0x420 [<ffffffff813bf0ea>] blk_mq_...
2014 Jun 27
2
virt_blk BUG: sleeping function called from invalid context
...f2>] mutex_lock_nested+0x42/0x440 [<ffffffff810e1de6>] ? local_clock+0x16/0x30 [<ffffffff810fc23f>] ? lock_release_holdtime.part.28+0xf/0x200 [<ffffffff812d76a0>] kernfs_notify+0x90/0x150 [<ffffffff8163377c>] bitmap_endwrite+0xcc/0x240 [<ffffffffa00de863>] close_write+0x93/0xb0 [raid1] [<ffffffffa00df029>] r1_bio_write_done+0x29/0x50 [raid1] [<ffffffffa00e0474>] raid1_end_write_request+0xe4/0x260 [raid1] [<ffffffff813acb8b>] bio_endio+0x6b/0xa0 [<ffffffff813b46c4>] blk_update_request+0x94/0x420 [<ffffffff813bf0ea>] blk_mq_...
2001 Mar 16
2
X forwarding from Linux -> Irix not working
...bug: channel 0: close_read debug: channel 0: input: no drain shortcut debug: channel 0: ibuf empty debug: channel 0: input drain -> wait_oclose debug: channel 0: send ieof debug: channel 0: write failed debug: channel 0: output open -> wait_ieof debug: channel 0: send oclose debug: channel 0: close_write debug: X11 closed 0 i4/o64 debug: channel 0: rcvd ieof debug: channel 0: non-open channel 0: istate 4 != open channel 0: ostate 64 != open debug: channel 0: rcvd oclose debug: channel 0: input wait_oclose -> closed X connection to pc07:10.0 broken (explicit kill or server shutdown). X forwardi...
2015 Jun 16
1
Strange problem with rsync and expect
...backing up using rsync and expect. However when I run the script twice for two different files at same time, the two files on destination path would be deleted automatically before the files closed. The output of inotify_wait was like: ./ MODIFY .redo02.log.dOlbek ./ DELETE .redo02.log.dOlbek ./ CLOSE_WRITE,CLOSE .redo02.log.dOlbek I didn't use any --del options and tried --ignore-errors --max-delete=0, but they didn't work. The problem happened only when two processes were running at same time. Here is my script:#!/usr/bin/expect log_user 0 set env(LANG) en_US.UTF-8 set user...
2012 Apr 12
8
Background jobs with #fork
Hi I''ve migrated from Passenger to Unicorn about a week ago. It''s great. Great transparency and management, thanks for this great software! A few of my Rails applications start background jobs using Kernel#fork. Of course, the ActiveRecord connections are closed and reopened again in the parent and child processes. The child process also does its job. Unfortunately, it seems
2000 Oct 02
3
still sftp-server problems with Irix?
...NONBLOCK debug2: callback done debug1: Received SIGCHLD. debug1: session_by_pid: pid 31997225 debug1: session_exit_message: session 1 channel 2 pid 31997225 debug1: session_exit_message: release channel 2 debug1: channel 2: write failed debug1: channel 2: output open -> closed debug1: channel 2: close_write debug1: channel 2: chan_shutdown_write: shutdown() failed for fd13: Transport endpoint is not connected debug1: session_free: session 1 pid 31997225 debug1: channel 2: read<=0 rfd 13 len 0 debug1: channel 2: read failed debug1: channel 2: input open -> drain debug1: channel 2: close_read debu...
2007 Mar 01
2
FerretHash
...(:key, :index=>:untokenized, :store=>:no, :term_vector=>:no) fis.add_field(:value, :index=>:no, :store=>:yes, :term_vector=>:no) @writer=Ferret::Index::IndexWriter.new(:path=>@name, :field_infos=>fis, :create_if_needed=>true, :analyzer=>nil) end def close_writer @writer.close @writer=nil end def close @writer.close @writer=nil @name=nil end def destroy name=@name close `rm -r #{name}` nil end def path @name end def [](key) reader=Ferret::Index::IndexReader.new(@name) s...
2001 Aug 02
0
Bugs: SSH sometimes failing to report exit-status and more
...channel 0: send eof debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: channel 0: rcvd eof debug1: channel 0: output open -> drain debug1: channel 0: rcvd close debug1: channel 0: obuf empty debug1: channel 0: output drain -> closed debug1: channel 0: close_write debug1: channel 0: send close debug1: channel 0: is dead debug1: channel_free: channel 0: status: The following connections are open: #0 client-session (t4 r0 i8/0 o128/0 fd -1/-1) debug1: channel_free: channel 0: dettaching channel user debug1: Transferred: stdin 0, stdout 0, stderr...
2011 Oct 22
1
Creating a reverse socket often (not always) fails.
...g3: fd 11 is O_NONBLOCK debug2: fd 13 setting O_NONBLOCK debug2: channel 2: read 706 from efd 13 debug2: channel 2: rwin 24540 elen 706 euse 1 debug2: channel 2: sent ext data 706 debug2: channel 2: rcvd eof debug2: channel 2: output open -> drain debug2: channel 2: obuf empty debug2: channel 2: close_write debug2: channel 2: output drain -> closed debug2: channel 2: rcvd close debug2: channel 2: close_read debug2: channel 2: input open -> closed debug3: channel 2: will not send data after close debug2: channel 2: almost dead debug2: channel 2: gc: notify user debug1: session_by_channel: session...