http'server 'listen on unix_sock should throw a error IF the-input-sockname-length EXCEED the maximum linux-limit #48316
Labels
feature request
Issues that request new features to be added to Node.js.
What is the problem this feature will solve?
see the simple code below:
so in this secenario .
i think server.listen should 【THROW-a-error】 instead of 【let-the-creat-action-succeed】
What is the feature you are proposing to solve the problem?
http'server 'listen on unix_sock should throw-a-error IF the-input-sockname EXCEED the maximum linux-limit
What alternatives have you considered?
in testbed enviroment:
long path name is NOT rare (coz the normally generated by script)
when auto creat many many server listen on unix sock in a nested directory, long path name is possible
for example, in my test bed , i created 2400 http server on a machine( for test one route one instance)
dt : 2400 created CPU:176 MEM: 1380974592
usock DT20230603_104937_506_5224____nv_cli_how_many_workers___/usock2400
some server name is too long, but they be created successfully with the wrong-sock-name(trimed)
The text was updated successfully, but these errors were encountered: