Re: Solr 6.3.0, possible SYN flooding on port 8983. Sending cookies.

2017-03-04 Thread Yago Riveiro
I’m using guzzle 3 for HTTP (it’s old but it’s the only one that works in 5.3) and the documentation says that use persistent connection (but you know … is PHP, weird things happen). Maybe I need to dump data to disk an use Java to post it ... -- /Yago Riveiro On 4 Mar 2017 16:50 +,

Re: Solr 6.3.0, possible SYN flooding on port 8983. Sending cookies.

2017-03-04 Thread Walter Underwood
PHP uses the curl library for HTTP. It is a bit of a mess. It opens a new connection for every request. I would not try to pool client connections with PHP. PHP starts over with a new environment for each page, so that will be very hard to manage. I would suggest running haproxy or something

Re: Solr 6.3.0, possible SYN flooding on port 8983. Sending cookies.

2017-03-04 Thread Yago Riveiro
The weird thing is that the lsof command shows that connections are made between 2 solr instances and not from the origin of new income data ... -- /Yago Riveiro On 4 Mar 2017 10:32 +, Mikhail Khludnev , wrote: > I hardly can comment regarding PHP. But if you call curl as

Re: Solr 6.3.0, possible SYN flooding on port 8983. Sending cookies.

2017-03-04 Thread Mikhail Khludnev
I hardly can comment regarding PHP. But if you call curl as an external program it.s a dead end. However, giving http://stackoverflow.com/questions/972925/persistent-keepalive-http-with-the-php-curl-library you can reuse a 'context' across curl library calls and make sure that's keep-alive pool is

Re: Solr 6.3.0, possible SYN flooding on port 8983. Sending cookies.

2017-03-04 Thread Yago Riveiro
Hi Mikhail, I’m not using SSL, and the way I call Solr is through a php script that use Curl -- /Yago Riveiro On 4 Mar 2017 08:54 +, Mikhail Khludnev , wrote: > Hello, Yago. > It usually happens when client doesn't reuse http connections. How do you > call Solr? Is there

Re: Solr 6.3.0, possible SYN flooding on port 8983. Sending cookies.

2017-03-04 Thread Mikhail Khludnev
Hello, Yago. It usually happens when client doesn't reuse http connections. How do you call Solr? Is there SSL? 04 марта 2017 г. 3:33 пользователь "Yago Riveiro" написал: > Hello, > > I have this log in my dmesg: possible SYN flooding on port 8983. Sending > cookies. > >

Solr 6.3.0, possible SYN flooding on port 8983. Sending cookies.

2017-03-03 Thread Yago Riveiro
Hello, I have this log in my dmesg: possible SYN flooding on port 8983. Sending cookies. The Solr instance (6.3.0) has not accepting more http connections. I ran this: _lsof -nPi |grep \:8983 | wc -l_ and the number of connection to port 8983 is about 14K in CLOSE_WAIT ou ESTABLISHED state.