# MediaCache Error

**URL:** <https://community.wowza.com/t/mediacache-error/34390>\
**Category:** Wowza Streaming Engine\
**Created:** [March 16, 2016, 12:28pm UTC](https://community.wowza.com/t/mediacache-error/34390 "2016-03-16T12:28:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Heinz\_Lechner](https://avatars.discourse-cdn.com/v4/letter/h/82dd89/32.png) [@Heinz\_Lechner](https://community.wowza.com/u/Heinz_Lechner)\
**Post date:** [March 16, 2016, 12:28pm UTC](https://community.wowza.com/t/mediacache-error/34390/1 "2016-03-16T12:28:08Z")

</div>

Hi!

Sometimes I receive this Error Message. When I Restart the Wowza Service and the Cache is Purged, the Error disappears

Possibly my MediaCache is full? But i think if the Cache is full, the Content should be received directly from the Storage?

Any advises?

Regards

Robert

ERROR server comment 2016-03-16 11:00:02 - - - - - 131854.229 - - - - - - - - ScheduledRandomAccessReader.bufferMiss[nas/cms-worldwide/online/2016-03-12\_1815\_sd\_02\_BINGO\_\_\_\_\_12167968\_\_o\_\_0001848867\_\_s12178770\_\_\_go\_ORF2HD\_18172303P\_18495424P\_Q6A.mp4]: Request failed: 511955410:4

ERROR server comment 2016-03-16 11:00:02 - - - - - 131854.23 - - - - - - - - ScheduledRandomAccessReader.bufferMiss[nas/cms-worldwide/online/2016-03-12\_1815\_sd\_02\_BINGO\_\_\_\_\_12167968\_\_o\_\_0001848867\_\_s12178770\_\_\_go\_ORF2HD\_18172303P\_18495424P\_Q6A.mp4]: Request failed: 511955410:4

WARN server comment 2016-03-16 11:00:02 - - - - - 131854.231 - - - - - - - nas/cms-worldwide/online/2016-03-12\_1815\_sd\_02\_BINGO\_\_\_\_\_12167968\_\_o\_\_0001848867\_\_s12178770\_\_\_go\_ORF2HD\_18172303P\_18495424P\_Q6A.mp4 MediaReaderH264.open[2]: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0: java.lang.Exception: QTUtils.parseQTMediaContainer: Atom size is invalid: 0|at com.wowza.wms.mediareader.h264.util.QTUtils.parseQTMediaContainer(QTUtils.java:188)|at com.wowza.wms.mediareader.h264.MediaReaderH264.open(MediaReaderH264.java:321)|at com.wowza.wms.httpstreamer.model.HTTPStreamerAdapterBase.doesFileExist(HTTPStreamerAdapterBase.java:1470)|at com.wowza.wms.httpstreamer.sanjosestreaming.httpstreamer.HTTPStreamerAdapterSanJoseStreamer.onPlaylist(HTTPStreamerAdapterSanJoseStreamer.java:860)|at com.wowza.wms.httpstreamer.sanjosestreaming.httpstreamer.HTTPStreamerAdapterSanJoseStreamer.serviceMsg(HTTPStreamerAdapterSanJoseStreamer.java:224)|

ERROR server comment 2016-03-16 11:00:02 - - - - - 131854.369 - - - - - - - - MediaReaderH264SanJose.indexFile : java.lang.NullPointerException|at com.wowza.wms.httpstreamer.sanjosestreaming.file.MediaReaderH264SanJose.indexFile(MediaReaderH264SanJose.java:126)|at com.wowza.wms.httpstreamer.sanjosestreaming.file.HTTPStreamerSanJoseIndexItem.indexFile(HTTPStreamerSanJoseIndexItem.java:155)|at com.wowza.wms.httpstreamer.sanjosestreaming.file.HTTPStreamerSanJoseIndex.indexFile(HTTPStreamerSanJoseIndex.java:326)|at com.wowza.wms.httpstreamer.sanjosestreaming.httpstreamer.HTTPStreamerSessionSanJose.getIndex(HTTPStreamerSessionSanJose.java:155)|at com.wowza.wms.httpstreamer.sanjosestreaming.httpstreamer.HTTPStreamerAdapterSanJoseStreamer.onMediaFile(HTTPStreamerAdapterSanJoseStreamer.java:1684)|

Mediacache Settings are

Maximum Size 180 gigabytes

Write Rate 38 megabytes per second

Write Rate Max Bucket Size 228 megabytes

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [March 17, 2016, 2:24pm UTC](https://community.wowza.com/t/mediacache-error/34390/2 "2016-03-17T14:24:15Z")

</div>

Hi,

This seems to indicate that Wowza had problems reading a particular file. It could be corrupt and you can easily test that by copying it to your Wowza content dir and streaming it via a vod app. It could also indicate a problem with the file in Mediacache. I would certainly ensure that your Mediacache setup is optimal and you have enough capacity both in terms of disk IO and network throughput. If your platform is tuned and this is happening consistently then you may want to [open a support ticket](https://www.wowza.com/support/open-ticket). If so, please include the detail requested and we will investigate it in more detail.

Paul
