The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
13 views

HTTP Communications- Browser not receiving all data [migrated]

I have set up a server with my homemade http code on it. My code binds to a port(80) and then listens for requests on that port. My response is sent in pieces using multiple send() calls. If I access ...
-1
votes
0answers
17 views

An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full - wamp server [closed]

I am creating a browser-based game using PHP,Javascript and HTML5 and I am testing it on a local wamp server. However sometimes I get the following error: Warning: mysqli::mysqli(): (HY000/2002): An ...
0
votes
0answers
18 views

TCPIP Sockets are dropped unexpectedly

We have a classic Web Client Server application environment. The Web servers are IIS 7.5 cgi is performed by PHP and a JAVA app listens on the App Layer for requests from the PHP script. The PHP opens ...
0
votes
0answers
8 views

Beginner problems on pipe, fork and if statement [migrated]

I am learning about socket programming and I am well-know to c-programming. Based on my c-programming knowledge, once the process inside else statement is processed. The process inside if statement ...
0
votes
1answer
58 views

How to check if sockets are sending/receiving data on linux?

I often have to debug processes which involve a server client tcp connection. I'd like to check, during times where a client might seem stuck, whether the server is sending it data or not. I can use: ...
3
votes
0answers
116 views

mysql client slow login strace

I am experiencing an issue with slow connections/logins to a loaded mysql server, even when connecting via the unix socket file (CentOS 6.3). Queries are completing very quickly -- (0.00 sec) in this ...
0
votes
2answers
40 views

How to diagnose large number of TIME_WAIT connections

We have a production issue with only one of our servers and have correlated slow performance to an abundance of sockets in the TIME_WAIT state. Without drawing this question into a huge backstory, we ...
1
vote
0answers
97 views

UDP socket receive buffer size change on RHEL6.3

Our system used to work on RHEL5.3 And the socket receive buffer size is 64k. And that works fine. We can get message size up to 64k on UDP socket. But after system upgrade, it is running on RHEL6.3 ...
1
vote
1answer
142 views

Tuning tcp_keepalive_time for Node.js leak

I'm currently having a socket leak with my Node.js application. This bug is also posted here. I hope to fix this soon. CLOSE_WAIT and FIN_WAIT2 seem to be the major problem. Connections: 1662 ...
0
votes
0answers
23 views

Distributing socket application

I've developed a Socket Application on top of TCP in .NET C#, which allows many clients to send files from one another via a VPS I'm using. Most file transfers will occur between people in the same ...
0
votes
2answers
64 views

Simulating many client connection to server

I've written a protocol on top of TCP using C# Sockets class which allows the transfer of files between many clients, and put it on a Windows Server 2008 VPS. I have then written the client-side ...
0
votes
1answer
31 views

Key metrics to watch to see if I am running out of sockets, or network connections between servers is reaching the limit [closed]

I have a service endpoint that makes many short lived connections, and I want to monitory my server to see how many open sockets I have, how many are available etc. Also, I want to know if network ...
0
votes
1answer
57 views

Adobe AIR ServerSocket to remoteIP?

I have a mobile multiplayer game that uses the AIR serverSocket class to connect to an AIR server app on a laptop set up as a wifi hotspot. The requirements have changed and now the server must be ...
0
votes
2answers
230 views

Connection Refused Error Java/Linux

I'm trying to move an existing project over to a new (linux) server environment (note, I have no direct access to the code nor do I have any knowledge about the project in general - talk about a great ...
0
votes
0answers
98 views

Inject packet to a different NFQUEUE

I have an NFQUEUE, for IPv6 packets hooked to PREROUTING chain of mangle table in ip6tables. Once I receive a packet in user application, I modified the header. Infact, modified the header from IPv6 ...
-2
votes
2answers
71 views

Is this a 2 or 4 CPU Configuration? [closed]

I'm looking at this server configuration (I'm reviewing a customer's potential order for a server for our software) and I'm trying to understand what kind of CPUs would come on the server. HP SB Gen8 ...
-2
votes
3answers
131 views

Can I make a MySQL socket file that points to a different machine?

I'm using a MySQL tuning script that in turn uses the socket (.sock) file on the local drive to connect to MySQL. Even though I have a copy of MySQL on this server, however, the MySQL that I want to ...
-2
votes
1answer
42 views

Densely packed Xeon 5400 processors [closed]

I'm doing lots of data crunching in a private cloud. I really like the price point of the Intel Xeon 5420 processor so I would like to run as many of these as possible. I have some running in ...
0
votes
0answers
104 views

502 Error Nginx+Django(via FastCGI and a unix socket)

I keep getting a 502 - Bad Gateway Error whenever I try to access a Django page. What is the best way to resolve this? I have it working using the loopback method(127.0.0.1 as host on port 8080) ...
2
votes
0answers
72 views

what can put linux process managing connection pool into bad state, so it restarts them continously?

I have an application with pool of connections to MySQL. At some point, in production, every 1-3 seconds some socket is closed. As a result my app restarts this connection. This is pretty big pool ...
1
vote
1answer
77 views

How to forward a server socket to a (possibly ssh) client

I'm wondering if/how I can realize the following setup. It doesn't seem to fit the standard ssh port forwarding model. I have a client machine A. I have a server application running on machine A, ...
0
votes
0answers
106 views

Socket reverse-proxy

The setup: I have a wireless lan from which server A (a reverse proxy) can be reached and can reach. Beside, server A can reach server B. Server B cannot reach or be reached from the wireless lan. ...
1
vote
1answer
400 views

Caused by: java.net.SocketException: Software caused connection abort: socket write error

I running JSP on Oracle 11g, Weblogic 10.3.4. I have 2 managed server and a oracle admin server installed. I am encountering an error where intermittently the log file of the 2 managed server and ...
1
vote
1answer
154 views

Access denied to mysql cause by invalid server hostname bind address

I cannot login to mysql using the terminal. [root@fst mysql]# mysql -h localhost -u admin -p Enter password: ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES) I ...
0
votes
2answers
323 views

I can't run uwsgi as nornal user

I want to run uwsgi server as www user, but if I write: uwsgi --socket $SOCKET --chmod-socket 666 --pidfile $PIDFILE --daemonize $LOGFILE --chdir $CHDIR --pp $PYTHONPATH --module main ...
0
votes
1answer
63 views

Apache SMTP connection times out

A web server that has successfully sent mail using the hosting providers's SMTP server before seems to suddenly have lost connection to the SMTP server. [Wed Nov 28 09:51:27 2012] [error] [client ...
1
vote
0answers
118 views

A new socket connection stays at SYN_RECV [closed]

I run a DC++ server (PtokaX) with peak users around 1500. From time to time, the server goes in a state where any new socket connection to PtokaX stays at SYN_RECV and few sockets at CLOSE_WAIT. I am ...
2
votes
2answers
1k views

Apache will not start in Ubuntu 12.10: no listening sockets available

I'm not able to start the fresh apache2 installation on my development machine running Ubuntu 12.10. michal@ubuntudesktop:~$ sudo service apache2 start * Starting web server apache2 no listening ...
1
vote
1answer
65 views

Packet Size modification over Sockets [closed]

I am doing socket programming in QT and I have to design a protocol to transfer DATA over TCP/IP. Now my protocol design is SIMPLE and it sends commands in a fashion that the first BYTE of the data ...
1
vote
1answer
389 views

clamd says socket in use by another process but I can't find one

I'm running CentOS 5.3 (Final) and using rpmforge I installed clamd and prereqs ok. I started clamd and ran a freshclam all ok. But if I run "clamd PING" or clamd /path/to/file I get ERROR: ...
1
vote
1answer
284 views

Where are my TIME_WAITs on Mac OS X?

No TIME_WAITs on Mac OS X Normally, when a TCP connection is closed, the socket on the side where close() is called first is left in the TIME_WAIT state. When one of the peers is a Mac OS X (Lion) ...
0
votes
3answers
177 views

MySQL Not Turning On

I have an amazon ec2 instance running on the Amazon Linux AMI and its a micro instance. I wanted to install Django onto my server so I entered these commands wget ...
3
votes
2answers
651 views

Nginx to apache reverse proxy, instruct use of unix sockets

My Nginx reverse proxy works on the same machine as the webserver(apache) as follows server { server_name site.net; location / { proxy_pass http://localhost:82; ...
1
vote
2answers
418 views

linux : netstat listeting queue length

Is there a way to view queue length on listening socket under linux, the same way as netstat -L outputs for freebsd? I.e. you can see X/Y/Z in netstat -L output, but netstat under linux doesn't ...
0
votes
0answers
56 views

Closing an existing socket connection in OS X

I am trying to the robustness of my application and would like to close a connected socket in OS X without killing the application or the network connection(I want other sockets to stay open). Can I ...
0
votes
3answers
4k views

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) on subsequent connection through terminal

My sincere apologies for asking something that obviously has been answered before. The fact that I'm posting is that i would like to be absolutely sure since it's about a live server running ...
0
votes
0answers
142 views

PHP-FPM got stuck on FIN_WAIT1 state for 6 mins on Nginx API server

I have a web app that heavily utilizes Curl and Curl multi exec. To make a story short, here is the flow of my app: Sample API Client makes 3000 Rest API queries back to the same server... It makes ...
0
votes
0answers
77 views

tomcat 6 (connector) listen on socket file

Well, the title says all. I want Tomcat to listen on a socket file since it's much cheaper than a network socket. I'll proxy requests to Tomcat. How do I tell a Connector to listen on a socket file? ...
1
vote
1answer
67 views

why there are three(it should be two) process related to screen when using ps command?

you can see there are three processes which are related to screen command: [world]$ ps auxf USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND hugemeow 28938 0.0 0.0 66080 ...
1
vote
2answers
267 views

Can haproxy be used to balance unix sockets?

In nginx it is fairly simple to configure it to proxy unix .sock files Eg: upstream bla { server unix:///home/sam/Source/bla/tmp/sockets/thin1.sock; server ...
3
votes
1answer
305 views

Socket.io Flashsockets over HTTPS

We’re trying to get Socket.io flashsockets to work in Internet Explorer 9 over HTTPS/WSS. The flashsockets work over HTTP, but HTTPS is giving us problems. We’re using socket.io version 0.8.7 and ...
1
vote
1answer
217 views

Redhat linux: Slow start of new socket connections

I am having problems with a Red Hat server 2.6.18. The creation of a new TCP socket takes very long - once it is established it is fine. iptables and selinux are disabled - is there any other ...
1
vote
1answer
178 views

WSAENOBUFS errors when performing HTTP connections on Windows Server 2008 x64

We are trying to transfer large number of files from a network share into Openstack using a custom written Erlang application (using Erlang version R15B). After about 20k files transferred the Erlang ...
7
votes
3answers
7k views

Nginx + php5-fpm = “File not found”

I've hit a wall whilst setting up a site using nginx / fpm. The page displays "File not found", and this appears in the nginx error.log: FastCGI sent in stderr: "Primary script unknown" while reading ...
4
votes
1answer
395 views

TCP Windows Size vs Socket Buffer Size on Windows

I am new to Windows networking. When people talk about TCP tuning on Windows platform, they always mention about TCP Window Size. I am wondering whether Windows uses the concept of "Socket Buffer ...
0
votes
1answer
68 views

Socket(TCPIP) Unstable

I have a setup of a SCPI server in a Win7 PC and have 2 other programs talking to it locally(127.0.0.1) over TCPIP socket 5025 and 5029. This worked well and stable in a fresh PC, but when we moved ...
1
vote
1answer
251 views

Folder disappearing from /var/run upon reboot with Ubuntu 12.04

I'm running php5-fpm on Ubuntu using a UNIX socket at /var/run/php5-fpm/www.conf.sock. During the installation I have created manually the php5-fpm folder inside /var/run/ so that php5-fpm could ...
0
votes
1answer
408 views

Sar: what does totsck stand for

I'm looking for an explanation of the totsck column for the "sar -n SOCK" output 09:44:06 PM totsck tcpsck udpsck rawsck ip-frag tcp-tw 09:44:09 PM 580 18 5 ...
1
vote
2answers
68 views

How do communcations through ports works [closed]

I was studying socket programming and certain questions came to my mind. These are some beginner level doubts Is it mandatory to to use well known port for a particular application. For example if i ...
1
vote
0answers
144 views

SocketException (Timeout) only when running as scheduled task

I'm running a C# web-scrapper application (that I wrote) on a Windows Server 2003 instance under a user belonging to the local Administrator group. When I run it within a desktop/remote-desktop ...

1 2 3 4