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

error on restart #2

Closed
philippfrenzel opened this issue Oct 12, 2015 · 1 comment
Closed

error on restart #2

philippfrenzel opened this issue Oct 12, 2015 · 1 comment

Comments

@philippfrenzel
Copy link

PHP Warning 'yii\base\ErrorException' with message 'posix_kill() expects parameter 2 to be long, string given'

in /app/vendor/morozovsk/websocket/Server.php:111

Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'posix_kill() ex...', '/app/vendor/mor...', 111, Array)
#1 /app/vendor/morozovsk/websocket/Server.php(111): posix_kill('182', 'SIGTERM')
#2 /app/vendor/morozovsk/websocket/Server.php(133): morozovsk\websocket\Server->stop()
#3 [internal function]: morozovsk\websocket\Server->restart()

@morozovsk
Copy link
Owner

это что-то уже очень давнишнее, сейчас в коде posix_kill($pid, SIGTERM) , а SIGTERM - это константа равная 15

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

2 participants