Hi all!
I have a very strange case.
On hardware server has been installed FreeBSD 10.3 + Apache24 (apache24-2.4.18) for a few sites. Web-server works without jail.
Everything works fine, but had to adjust the indexing (mnogosearch), and during testing it was discovered that Apache24 transmit the large files via the local interface lo0 abnormally slow.
What is transmitted to the external clients for a few seconds, by lo0 is transmitted approximately 16-18 minutes!!!
Because of this, indexing of large PDF's is impossible, but I'm amazed by such a specific effect.
I tried to disable PF for check - it does not affect on problem. It more looks like a bug of lo0 in FreeBSD 10.3, although bug of Apache24 also not excluded.
I will be very grateful if anyone tell me what to do with such an unexpected problem.
I have a very strange case.
On hardware server has been installed FreeBSD 10.3 + Apache24 (apache24-2.4.18) for a few sites. Web-server works without jail.
Everything works fine, but had to adjust the indexing (mnogosearch), and during testing it was discovered that Apache24 transmit the large files via the local interface lo0 abnormally slow.
What is transmitted to the external clients for a few seconds, by lo0 is transmitted approximately 16-18 minutes!!!
Code:
# wget http://www.***/common/101015.pdf
Resolving www.*** (www.***)… 127.0.0.1, ::1
Connecting to www.*** (www.***)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11049247 (11M) [application/pdf]
Saving to: «101015.pdf»
101015.pdf 0%[ ] 47,59K --.-KB/s remain 18m 42s
Because of this, indexing of large PDF's is impossible, but I'm amazed by such a specific effect.
I tried to disable PF for check - it does not affect on problem. It more looks like a bug of lo0 in FreeBSD 10.3, although bug of Apache24 also not excluded.
I will be very grateful if anyone tell me what to do with such an unexpected problem.
Code:
% ifconfig
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
ether 00:25:90:c0:fa:2a
inet ****** netmask 0xffffff00 broadcast *****.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
igb1: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=403bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,VLAN_HWTSO>
ether 00:25:90:c0:fa:2b
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>