Comments (17)
this is really strange.
does it happen every time you click on it? or just some times.
I was not able to reproduce it here.
from avideo-storage.
everytime .
I mean this gonna be an issue for many people who's planning to get the DiskQuota plugin .
from avideo-storage.
Agree this is wrong, I just cannot see how is it happening.
is it a video hosted in the storage?
the same happens with local videos?
from avideo-storage.
@DanielnetoDotCom happens much more on storage site then the local site .
I mean right now , all my storage site is wrong . Everything indicates x2 x3 more size then it is .
I'm not sure if this is caused by the dump files on the streamer site .
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179/index.m3u8 in /var/www/html/YouPHPTube/objects/video.php on line 2575
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179.mp4 in /var/www/html/YouPHPTube/objects/video.php on line 2575
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179.webm in /var/www/html/YouPHPTube/objects/video.php on line 2575
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179_Low.webm in /var/www/html/YouPHPTube/objects/video.php on line 2575
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179_SD.webm in /var/www/html/YouPHPTube/objects/video.php on line 2575
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179_HD.webm in /var/www/html/YouPHPTube/objects/video.php on line 2575
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179.pdf in /var/www/html/YouPHPTube/objects/video.php on line 2575
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179.zip in /var/www/html/YouPHPTube/objects/video.php on line 2575
[03-Jul-2020 15:12:54 Europe/Helsinki] PHP Warning: filesize(): stat failed for /var/www/html/YouPHPTube/videos/_ID.81107179.mp3 in /var/www/html/YouPHPTube/objects/video.php on line 2575
Then it's start some curl for header .
But again , does that x2 x3 times . Witch explains why does report wrong filesize .
Because the dump files does redirect to the storage site . So it's counting the dump files as files .
from avideo-storage.
It will count the dummy files, but it supposes to be only 10 bytes each.
also count the images, and zip files if they were not deleted.
can you please check if it deletes the zip files?
I mean it will count anything with the video "filename" form database
from avideo-storage.
No zip files , nothing except dump files.
from avideo-storage.
can you please make something like this in your streamer and storage
ls -lah /var/www/html/YouPHPTube/videos/_ID.81107179*
from avideo-storage.
from avideo-storage.
Ok, all looks perfect, so if you click on the "update disk storage" it will give you the wrong size?
from avideo-storage.
Yes Sir
from avideo-storage.
ef852e370b841.68237251_HD.mp4 HTTP/1.1" 200 3646 "-" "-"
[30/Jun/2020:08:53:00 +0000] "HEAD /videos/_YPTuniqid_5ef852e370b841.68237251_Low.mp4 HTTP/1.1" 200 3645 "-" "-"
[30/Jun/2020:08:53:00 +0000] "HEAD /videos/_YPTuniqid_5ef852e370b841.68237251_SD.mp4 HTTP/1.1" 200 3645 "-" "-"
[30/Jun/2020:08:53:00 +0000] "HEAD /videos/_YPTuniqid_5ef852e370b841.68237251_HD.mp4 HTTP/1.1" 200 3646 "-" "-"
[30/Jun/2020:08:53:00 +0000] "HEAD /videos/_YPTuniqid_5ef852e370b841.68237251_Low.mp4 HTTP/1.1" 200 3645 "-" "-"
[30/Jun/2020:08:53:00 +0000] "HEAD /videos/_YPTuniqid_5ef852e370b841.68237251_SD.mp4 HTTP/1.1" 200 3645 "-" "-"
[30/Jun/2020:08:53:01 +0000] "HEAD /videos/_YPTuniqid_5ef852e370b841.68237251_HD.mp4 HTTP/1.1" 200 3646 "
Is this log from storage or streamer?
Could you detect if is the streamer that is requesting multiple times or is the storage that is processing multiple times?
from avideo-storage.
I will fix, I could reproduce it here
from avideo-storage.
Hello Daniel , on the streamer site , too many requests are made that looks like inspecting the header
[03-Jul-2020 15:38:29 Europe/Helsinki] AVideoLog::DEBUG: getUsageFromURL: start (https://storage.example.com/videos/_ID.68237251_HD.mp4)
[03-Jul-2020 15:38:29 Europe/Helsinki] AVideoLog::DEBUG: getUsageFromURL: curl_init
[03-Jul-2020 15:38:29 Europe/Helsinki] AVideoLog::DEBUG: getUsageFromURL: response header HTTP/1.1 200 OK
Date: Fri, 03 Jul 2020 12:38:29 GMT
Server: Apache
Set-Cookie: 46545649a030c1c8227=srpekdqtov1654654654jt0vj6; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: max-age=1, private, must-revalidate
Pragma: no-cache
Set-Cookie: 79f9a78441fe287987930c1c8227=srpekdqtov16543219b7jt0vj6; path=/
Access-Control-Allow-Origin: *
Last-Modified: Mon, 29 Jun 2020 13:49:14 GMT
ETag: "11b31ec4e-fb8a80"
Content-Length: 4751223886
Content-Type: video/mp4
I don't wanna past here all the log , but you got the idea , just too many of this requests of header .
from avideo-storage.
Please try this update on the Streamer site
from avideo-storage.
Works for me , but php updateDiskUsage
not working .
Nor
from avideo-storage.
When running php updateDiskUsage
on /install directory
from avideo-storage.
@DanielnetoDotCom Daniel , I have to delete everyday handreds of this files . Can you send a fix ? Maybe they should be on /tmp directory and not on the /object
directory or /install
from avideo-storage.
Related Issues (20)
- Can't move HLS video HOT 6
- bzip2 HOT 18
- Backup of AVideo-Storage video folder HOT 4
- YPTStorage is not working HOT 5
- Add up storage to my YPT HOT 3
- Video not deleted
- What's the price of Avideo storages? HOT 1
- YPTStorage connected to local NFS mount issue
- errorHandlerPsi : - PHP throws a error HOT 3
- 3 Proposals improvement for AVideo-Storage HOT 4
- New naming convention in YPTStorage 4.0 makes the Streamer unable to reproduce old and new videos HOT 2
- Disable directory browsing HOT 9
- Do not play video from storage HOT 26
- CDN rederict HOT 5
- Your Streamer Answer an error! HOT 16
- errorr storage HOT 1
- AVideo-Storage can not play HLS But can play mp4 HOT 10
- Title - Description after moving to YPTStorage HOT 33
- I can't move video to new storage HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avideo-storage.