Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Optymalization - connections SOCKET and FILES (SCREEN) #60

Closed
jensej opened this issue Jan 20, 2018 · 15 comments
Closed

Optymalization - connections SOCKET and FILES (SCREEN) #60

jensej opened this issue Jan 20, 2018 · 15 comments

Comments

@jensej
Copy link

jensej commented Jan 20, 2018

Hello.
I'm when is a lot of users then I get nginx 500 Internal Server Error, logs display this:

[alert] 27493#0: 768 worker_connections are not enough

What exacly I need to do, because when I changed value in nginx.conf doesn't work.

@gotoco
Copy link

gotoco commented Jan 20, 2018

Did you specify worker_connections in /etc/nginx/nginx.conf ?

@jensej
Copy link
Author

jensej commented Jan 20, 2018

Yes. But still this error. I don't have enought users to used this connections

@gotoco
Copy link

gotoco commented Jan 20, 2018

How many users do you have? I just tried this for 2 days with ~ 300 users and works totally fine

@jensej
Copy link
Author

jensej commented Jan 20, 2018

300-800

@evil7
Copy link
Contributor

evil7 commented Jan 22, 2018

Sorry I haven't testing it over 100 sessions yet. And some bug with fix next. less patch for now.

@jensej
Copy link
Author

jensej commented Jan 22, 2018

What I should do now?

Current errors:
2900#0: *72139 recv() failed (104: Connection reset by peer)
2018/01/22 00:35:12 [crit] 2899#0: accept4() failed (24: Too many open files)
2018/01/22 00:35:12 [alert] 2899#0: *73811 socket() failed (24: Too many open files)

@evil7
Copy link
Contributor

evil7 commented Jan 22, 2018

Please waiting for next update. coming soon. thanks for feedback

@jensej
Copy link
Author

jensej commented Jan 22, 2018

soon is week or few days?

@freebet
Copy link

freebet commented Jan 22, 2018

same issue...

@freebet
Copy link

freebet commented Jan 22, 2018

i updated all apt later install again deepMiner and problem done, you can try.

apt-get update

@jensej
Copy link
Author

jensej commented Jan 22, 2018

@freebet sorry I don't understand. I didn't see any changes on code

@freebet
Copy link

freebet commented Jan 22, 2018

not need change on code.
login ssh and just join this command:

apt-get update

@freebet
Copy link

freebet commented Jan 22, 2018

sory, no done, sametimes have problem.

@jensej jensej changed the title Wrong Nignx configuration Optymalization - connections SOCKET and FILES (SCREEN) Jan 24, 2018
@jensej
Copy link
Author

jensej commented Jan 24, 2018

Please I trying to find why server.js crash.
Check my deduction, On screen You can see:

  • current online connected to port 80
  • current opened socked and files

zrzut ekranu 2018-01-24 o 23 42 01

@evil7
Copy link
Contributor

evil7 commented Jan 25, 2018

you can try this one: https://www.npmjs.com/package/coin-hive-stratum
project sources here: https://gitlab.com/cazala/coin-hive-stratum

@evil7 evil7 closed this as completed Jan 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants