Is there a way to configure MacFUSE to keep a mounted volume alive if the remote host is set to break the connection due to inactivity? If there is no direct way to configure this, would there be a way to write a script to accomplish this?
...
In his article about preventing multiple instances of an application, Michael Covington presents this code:
static void Main() // args are OK here, of course
{
bool ok;
m = new System.Threading.Mutex(true, "YourNameHere", out ok);
if (! ok)
{
MessageBox.Show("Another instance is already running....
I'm using a simple PHP library to add documents to a SOLR index, via HTTP.
There are 3 servers involved, currently:
The PHP box running the indexing job
A database box holding the data being indexed
The solr box.
At 80 documents/sec (out of 1 million docs), I'm noticing an unusually high interrupt rate on the network interfaces on...
All,
I have a web site that produces reports based upon user inputs in to a web page (queries a backend DB) using classic ASP and crystal reports. If the report takes over 30 minutes to run the firewall that sits in between the client and the web server drops the connection as it has been sat idle, so the report never gets displayed t...
I am trying to debug some slowness in a site and I discovered that KeepAlive was disabled and that most of the content was being served with Connection: close. After enabling KeepAlive, most of the pages started to serve Connection: keep-alive headers but now I have noticed that some of the static JavaScript files are being served with n...
I have a web server based on paste.httpserver as an adapater between HTTP and WSGI. When I do performance measurements with httperf, I can do over 1,000 requests per second if I start a new request each time using --num-conn. If I instead reuse the connection using --num-call then I get about 11 requests per second, 1/100th of the speed....
I have an apache 2.2 server infront of a tomcat 6 server. using mod_proxy_ajp on apache to proxy requests to tomcat. pretty standard setup.
If I need to disable keep-alive connections for browsers, how do i do this?
I need to do disable keep-alive http requests because i suspect some of my users have firewalls that might be dropping an...
I've been debugging some Soap requests we are making between two servers on the same VLAN. The app on one server is written in PHP, the app on the other is written in Java. I can control and make changes to the PHP code, but I can't affect the Java server. The PHP app forms the XML using the DOMDocument objects, then sends the request us...
Postgresql has 3 keepalive settings for managing dropped connections (in postgresql.conf):
tcp_keepalives_count
tcp_keepalives_idle
tcp_keepalives_interval
By default these are 0.
The behavior I would like is for Postgresql to drop client connections after a period of time, should the client lose its network connection or go to sleep....
I have recently written a windows service that will keep alive an ASP.Net 2.0 web application. Since this application must support scheduled execution, I need to prevent it from unloading itself - hence the service.
So in testing, I loaded a page that had a timer on it... interval=1800000 autoreset=True
It will elapse every 1/2 hour, th...
Hello!
I've got unexpected problems with richfaces (3.3.2) modal panel. When i try to open it, browser opens two panels instead of one: one is in the center, another is in the upper left corner. Besides, no fading happens. Also i have three modes: view, edit, new - and when i open my panel it should show either "Create new..." or "Edit....
Hello,
We'd like to have a more fine-grained control on the connections we serve in a C++ Apache 2.2 module (on CentOS 5).
One of the connections needs to stay alive for a few multiple requests, so we set "KeepAlive" to "On" and set a short keep-alive period.
But for every such connection we have a few more connections from the browse...
I am trying to understand the relation between TCP/IP and HTTP timeout values. Are these two timeout values different or same? Most Web servers allow users to set the HTTP Keep Alive timeout value through some configuration. How is this value used by the Web servers? is this value just set on the underlying TCP/IP socket i.e is the HTTP ...
Hi all,
I've got a server that runs under MacOS/X and Linux. Under Linux, I've found the following code to be useful in specifying a TCP socket's behavior in the case where a client gets suddenly disconnected from the network:
int arg = 5; // send a keepalive packet after 5 seconds of inactivity
if (setsockopt(fd, SOL_TCP, TCP_KEEPI...
I'm using TCP keepalive on the server side to keep the connection alive, and notify the server if the client dies. How can I configure jQuery.get() to disconnect the connection after a certain period of idle time?
Edit - I would like to consider "idle time" as time where no TCP packets are exchanged. Since the Server has TCP keepalive, ...
We have a Tomcat front-end server that proxies to our Apache 2.2.11 app server, running on a 64-bit Fedora 2.6.21.7 EC2 2xlarge instance (AKI aki-b51cf9dc). Apache is running mod_perl and is not threaded.
We are trying to have the connections persist for a long time between Tomcat, running on another EC2 instance, and the Apache server...
Hy,
I have a system working with the client-server structure and PostgreSQL 8.4.
My problem is that if a client is editing a record and lose his connection to the server,the TCPIP connection is still considered! So, the record stay allocated for the client in my database.
I need the records to be free for edit in a few minutes. There...
I'm trying to implement an persistent TCP connection between an Android phone and a desktop server.
I've got heartbeat threads on both ends which are sending keepalive-packets on application level successfully.
The problem is that after a while (varies between 5-20min) the phone is starting to send TCP keepalives to the server, which t...
I have a site where a page takes 10 seconds to load with firefox, and a further 10 seconds to load the images. It's a php page running on apache. The Images are just static images.
It runs beautifully on chrome.... instant loading.
googling for the answer has pointed me towards a possible issue with keep alive and the lack of content l...
I have a WPF "wizard" where I am using PageFunction objects to display the various pages in the wizard. Several of these pages use references to objects in other assemblies within the application so the user can select "packages" they want to include in a generated ouput. In the page function, I have the keep alive flag set to true so ...