-
Notifications
You must be signed in to change notification settings - Fork 169
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
[openbsd] fiche is very slow locally #14
Comments
Can't reproduce this error. Even on OS X I get these:
Maybe it's hard disk related? Try with |
Have you read ktrace output? Anyway, it doesn't seem to be related to I/O as I tried to put output directory in memory (OpenBSD tmpfs).
I'm going to compare it with RHEL6... |
Comparison with latest RHEL6... So this issue is OpenBSD related.
|
IIUC the 5 seconds "delay" is here (another try, comments inline):
|
Could you change |
It seems you nailed it...
|
It seems that on OpenBSD fiche can't detect end of stream and is waiting for timeout to drop a connection. I'll try to reproduce this and find a solution. Thank you. |
man nc on openbsd:
with -N option it works super faaast ;)
|
The netcat version of OpenBSD does not send an end of stream by default, you need to use the "-N" flag. This functionality doesn't exist on linux netcat, and it seems its default is to send the end of stream. |
@renaudallard thank you! I got to do some test because, if I remember correctly, there were some problems with |
Thank you! Fixed in: 49ea4c7. |
After applying the fix from #31, I don't get this issue. |
In #31 we decided to revert 49ea4c7 since it caused some serious problems. I guess we really can't fix issue #14. As @renaudallard noted:
Probably the only option is to create a list of supported implementations. We could also think of lowering the timeout rate, but this requires some tests. |
I'm closing this, thank you. This can be resolved by using different netcat implementation. See #66 for more details. |
It takes 5 secs to do pipe local file to fiche, it's almost equal time while using termbin.com. Any idea?
And before above was executed tracing of fiche was done...
The text was updated successfully, but these errors were encountered: