Forum OpenACS Q&A: Re: connection socket is detached

Collapse
Posted by Maurizio Martignano on
Dear Claudio and Gustaf,
as Claudio knows I have access to his script.

Now replacing "ns_unlink" with "file delete" as I mentioned
produces the following log
"
ns_proxy proxies 8 waiting 0 maxworkers 8 free 8 used 0 requests 602 processes 2 runtime 600.150454
[15/Mar/2022:09:08:07][3830.7f68da7cd700][-conn:trinita:default:3:4841-] Notice:
: ns_proxy proxies 8 waiting 0 maxworkers 8 free 8 used 0 requests 603 processes 2 runtime 600.607638
[15/Mar/2022:09:08:07][3830.7f68da7cd700][-conn:trinita:default:3:4841-] Warning: ns_rename /tmp/delivery-1175494-6288602.pdf /tmp/delivery-1175494.pdf is deprecated. Use 'file rename' instead!
"

that is no "connectIon socket is detached".

On the contrary, going back to "ns_unlink" , produces this log:
"
[15/Mar/2022:09:14:28][3830.7f68da7cd700][-conn:trinita:default:3:4849-] Warning: ns_unlink /tmp/delivery-1175494-6288602.tmp.rml is deprecated. Use 'file delete' instead!
[15/Mar/2022:09:14:28][3830.7f68da7cd700][-conn:trinita:default:3:4849-] Error: GET /mis-sales/deliveries/print, PeerAddress: 92.222.178.125
: connection socket is detached
: while executing
: "ns_return 500 text/html $rendered_page"
: (procedure "rp_report_error" line 43)
: invoked from within
: "rp_report_error"
: (procedure "rp_handler" line 147)
: invoked from within
: "rp_handler"
: while executing callback
: ns:tclrequest rp_handler
: (context: request proc)
"
And this is a fact.

Now you both have more information to take into consideration...

Again, hope it helps.