Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POSIX::setgid not implemented on this architecture #126

Closed
abutun opened this issue Sep 9, 2017 · 1 comment
Closed

POSIX::setgid not implemented on this architecture #126

abutun opened this issue Sep 9, 2017 · 1 comment

Comments

@abutun
Copy link

abutun commented Sep 9, 2017

I am trying to execute below command in order to serve my web application (Dancer2)

plackup --server Starman --host 0.0.0.0 --port 80 -E production --workers=100 app.psgi

and it gives me this error:

2017/09/09-20:35:59 Starman::Server (type Net::Server::PreFork) starting! pid(1216)
Binding to TCP port 80 on host 0.0.0.0 with IPv4
Setting gid to "0 0"
2017/09/09-20:35:59 POSIX::setgid not implemented on this architecture at C:/Strawberry/perl/site/lib/Net/Server/Daemonize.pm line 156, line 1.

at line 392 in file C:/Strawberry/perl/site/lib/Net/Server.pm
2017/09/09-20:35:59 Received QUIT. Running a graceful shutdown
2017/09/09-20:35:59 Worker processes cleaned up
2017/09/09-20:35:59 Server closing!

any help?

@dex4er
Copy link
Contributor

dex4er commented Sep 9, 2017

@abutub Starman and most of PSGI servers don't work on Windows because on this system there is no fork system function. You can try https://github.com/dex4er/Thrall which uses threads instead even if threading in Perl is not perfect. Or use Twiggy if you have non-blocking procedures in your app.

@miyagawa miyagawa closed this as completed Sep 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants