Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#494768: apache2 cannot use sendfile() on CIFS partitions

2 views
Skip to first unread message

Chad

unread,
Aug 11, 2008, 9:40:11 PM8/11/08
to
Package: apache2
Version: 2.2.9-6
Severity: important


Apache2 cannot send more than a few kilobytes of a file mounted over
CIFS. This causes most web browsers to choke when downloading,
anything larger than a small HTML file. Wget will eventually succeed,
attempting to get the file repeatedly, accessing a few kilobytes at a
time.

Grabbing the file with wget will yield something like this:

wget http://<server>/foo.pdf
--2008-08-11 10:04:44--
http://<server>/foo.pdf
Resolving <server>... <IP>
Connecting to <server>|<IP>|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 52503 (51K) [application/pdf]
Saving to: `foo.pdf'

22% [=======> ] 11,584 --.-K/s in 0.06s

2008-08-11 10:04:44 (176 KB/s) - Connection closed at byte 11584. Retrying.

--2008-08-11 10:04:45-- (try: 2)
http://<server>/foo.pdf
Connecting to <server>|<IP>|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 52503 (51K), 40919 (40K) remaining [application/pdf]
Saving to: `foo.pdf'

43% [++++++++=======> ] 22,724 --.-K/s in 0s

2008-08-11 10:04:45 (315 MB/s) - Connection closed at byte 22724. Retrying.

<snip>

...and this will continue until the file is downloaded, sometimes.

Files on the local disk are unaffected.

After poking around for a while I came across this:

http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfile

Disabling sendfile functionality on the directories in question provided
an adequate workaround.

This was working as of 2.2.8-4~lenny1, but as of this morning I was
notified that some files could not be downloaded from our webserver.
That being said, I'm not sure when the breakage happened - sometime
between 2.2.8-4~lenny1 and 2.2.9-6. Alternatively is the 2.6.25 kernel
update to blame? If so maybe the kernel team should be cc'd on this?

Every other program (e.g., cp or scp) can access the files mounted over
CIFS. Apache2 is the only program having issues. The CIFS server is
running Solaris 10, Samba 3.0.28.

This problem also appears to have reared it head somewhat recently on
Fedora:

http://www.omgili.com/mailinglist/linux-cifs-client/lists/samba/org/A4077CD1A935AA47AD3F4141EB2EE78F9723F6hermes.html


-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

MR RECHARD THOMAS

unread,
Nov 15, 2018, 6:50:03 PM11/15/18
to
--
My Dear Friend,

I never want to bother you at all with my business proposal. However
is sure i contact you as my foreign partner. I would like you to give
me your full consideration to participate and share the amounts with
me.

You have to follow up so that you know what to do next. I need a
matured and capable foreign partner like you in a business deal of
$15.5 million US dollars. I belief you are suitable to handle such
project perfectly.

I will guide how you collect this amount on our behalf once i get your
positive response. Sorry if you received this letter in your spam, Due
to recent connection error here in my country.

Look forward to your rapid reply!

Thanks and best regards,

Mr.Rechard Thomas.

Hidroconta Trading Ltd.

unread,
Jun 18, 2019, 5:00:03 AM6/18/19
to
Hello,

Our partners referred your company to us. Regarding your great products.
Please see required products, quantity and specifications as attached.

Kindly give us your lowest possible prices for FCL shipment.


Best Regards,

Wanda Rodriguez
Purchase Assistant

Hidroconta Trading Ltd.
Av. de Sta. Catalina,
60, 30012 Murcia, Spain
Phone: +34 968 26 77 66
Fax: +34 968 26 77 06

Dorian Kwiatkowski

unread,
Sep 24, 2021, 3:40:04 AM9/24/21
to
Dzień dobry,

kontaktuję się z Państwem, ponieważ dostrzegam możliwość redukcji opłat za prąd.

Odpowiednio dobrana instalacja fotowoltaiczna to rozwiązanie, które pozwala wygenerować spore oszczędności w skali roku.

Chciałbym porozmawiać z Państwem o tego typu rozwiązaniu, a także przedstawić wstępne kalkulacje.

Czy są Państwo zainteresowani?

Pozdrawiam,
Dorian Kwiatkowski

Patryk Górecki

unread,
Oct 14, 2021, 4:00:04 AM10/14/21
to
Dzień dobry,

jakiś czas temu zgłosiła się do nas firma, której strona internetowa nie pozycjonowała się wysoko w wyszukiwarce Google.

Na podstawie wykonanego przez nas audytu SEO zoptymalizowaliśmy treści na stronie pod kątem wcześniej opracowanych słów kluczowych. Nasz wewnętrzny system codziennie analizuje prawidłowe działanie witryny. Dzięki indywidualnej strategii, firma zdobywa coraz więcej Klientów.

Czy chcieliby Państwo zwiększyć liczbę osób odwiedzających stronę internetową firmy? Mógłbym przedstawić ofertę?


Pozdrawiam serdecznie,
Patryk Górecki

Patryk Górecki

unread,
Oct 20, 2021, 4:00:04 AM10/20/21
to

Dawid Rowicki

unread,
Nov 8, 2021, 3:50:05 AM11/8/21
to
Dzień dobry!

Czy mógłbym przedstawić rozwiązanie, które umożliwia monitoring każdego auta w czasie rzeczywistym w tym jego pozycję, zużycie paliwa i przebieg?

Dodatkowo nasze narzędzie minimalizuje koszty utrzymania samochodów, skraca czas przejazdów, a także tworzenie planu tras czy dostaw.

Z naszej wiedzy i doświadczenia korzysta już ponad 49 tys. Klientów. Monitorujemy 809 000 pojazdów na całym świecie, co jest naszą najlepszą wizytówką.

Bardzo proszę o e-maila zwrotnego, jeśli moglibyśmy wspólnie omówić potencjał wykorzystania takiego rozwiązania w Państwa firmie.


Z poważaniem,
Dawid Rowicki

Adrian Ostojski

unread,
Nov 18, 2021, 4:20:03 AM11/18/21
to
Dzień dobry,

czy interesuje Państwa wymiana niezapłaconych przez Klientów faktur na gotówkę?

Pomagamy wszystkim przedsiębiorcom, którzy szukają gwarancji bezpieczeństwa i płynności finansowej.

Jeśli są Państwo otwarci na wstępną rozmowę w tym temacie proszę o odpowiedź.


Pozdrawiam,
Adrian Ostojski
Dyrektor Finansowy

Adam Furgalski

unread,
Dec 15, 2021, 4:10:22 AM12/15/21
to
Dzień dobry,

zapoznałem się z Państwa ofertą i z przyjemnością przyznaję, że przyciąga uwagę i zachęca do dalszych rozmów.

Pomyślałem, że może mógłbym mieć swój wkład w Państwa rozwój i pomóc dotrzeć z tą ofertą do większego grona odbiorców. Pozycjonuję strony www, dzięki czemu generują świetny ruch w sieci.

Możemy porozmawiać w najbliższym czasie?


Pozdrawiam
Adam Furgalski

Vanessa Gomes

unread,
Nov 8, 2022, 2:30:04 AM11/8/22
to
Can i trust you on this transaction?
I have important business to discuss with you as soon as possible.
This proposition will be in the best interest of you and me both.
0 new messages