Giter VIP home page Giter VIP logo

Comments (8)

astanway avatar astanway commented on July 18, 2024

On Mon, Jun 16, 2014 at 5:48 AM, detzom [email protected] wrote:

metrics. keyspace is 1007

You're sure no data is sent to Redis? Have you done a keys *? "metrics.
keyspace" is a direct measurement of the keys in Redis that were placed
there by the process.

I'm not sure what the StringIO is doing, it looks like it may be a bug with
the most recent commit (
1311d5b
)

Abe Stanway
abe.is

from skyline.

detzom avatar detzom commented on July 18, 2024

I checked my redis to ensure that no data is present :

started with pid 22763
2014-06-17 10:14:20 :: 22763 :: starting horizon agent
2014-06-17 10:14:20 :: 22764 :: started worker
2014-06-17 10:14:20 :: 22763 :: started roomba
2014-06-17 10:14:20 :: 22765 :: started worker
2014-06-17 10:14:20 :: 22766 :: started listener
2014-06-17 10:14:20 :: 22766 :: listening over tcp for pickles on 2024
2014-06-17 10:14:20 :: 22767 :: started listener
2014-06-17 10:14:20 :: 22767 :: listening over udp for messagepack on 2025
2014-06-17 10:14:20 :: 22769 :: operated on metrics. in 0.000259 seconds
2014-06-17 10:14:20 :: 22769 :: metrics. keyspace is 0
2014-06-17 10:14:20 :: 22769 :: blocked 0 times
2014-06-17 10:14:20 :: 22769 :: euthanized 0 geriatric keys
2014-06-17 10:14:20 :: 22769 :: sleeping due to low run time...
2014-06-17 10:14:22 :: 22766 :: connection from xxxxxxxxxxx:2024
2014-06-17 10:14:22 :: 22766 :: global name 'StringIO' is not defined
2014-06-17 10:14:22 :: 22766 :: incoming connection dropped, attempting to reconnect
2014-06-17 10:14:22 :: 22766 :: listening over tcp for pickles on 2024
2014-06-17 10:14:30 :: 22775 :: operated on metrics. in 0.000240 seconds
2014-06-17 10:14:30 :: 22775 :: metrics. keyspace is 0
2014-06-17 10:14:30 :: 22775 :: blocked 0 times
2014-06-17 10:14:30 :: 22775 :: euthanized 0 geriatric keys
2014-06-17 10:14:30 :: 22775 :: sleeping due to low run time...
2014-06-17 10:14:35 :: 22765 :: worker queue is empty and timed out
2014-06-17 10:14:35 :: 22764 :: worker queue is empty and timed out
2014-06-17 10:14:40 :: 22778 :: operated on metrics. in 0.001125 seconds
2014-06-17 10:14:40 :: 22778 :: metrics. keyspace is 0
2014-06-17 10:14:40 :: 22778 :: blocked 0 times
2014-06-17 10:14:40 :: 22778 :: euthanized 0 geriatric keys
2014-06-17 10:14:40 :: 22778 :: sleeping due to low run time...
2014-06-17 10:14:50 :: 22764 :: worker queue is empty and timed out
2014-06-17 10:14:50 :: 22765 :: worker queue is empty and timed out
2014-06-17 10:14:50 :: 22781 :: operated on metrics. in 0.000248 seconds
2014-06-17 10:14:50 :: 22781 :: metrics. keyspace is 0
2014-06-17 10:14:50 :: 22781 :: blocked 0 times
2014-06-17 10:14:50 :: 22781 :: euthanized 0 geriatric keys
2014-06-17 10:14:50 :: 22781 :: sleeping due to low run time...
2014-06-17 10:15:00 :: 22784 :: operated on metrics. in 0.000259 seconds
2014-06-17 10:15:00 :: 22784 :: metrics. keyspace is 0
2014-06-17 10:15:00 :: 22784 :: blocked 0 times
2014-06-17 10:15:00 :: 22784 :: euthanized 0 geriatric keys
2014-06-17 10:15:00 :: 22784 :: sleeping due to low run time...
2014-06-17 10:15:05 :: 22765 :: worker queue is empty and timed out
2014-06-17 10:15:05 :: 22764 :: worker queue is empty and timed out
2014-06-17 10:15:10 :: 22787 :: operated on metrics. in 0.000297 seconds
2014-06-17 10:15:10 :: 22787 :: metrics. keyspace is 0
2014-06-17 10:15:10 :: 22787 :: blocked 0 times
2014-06-17 10:15:10 :: 22787 :: euthanized 0 geriatric keys
2014-06-17 10:15:10 :: 22787 :: sleeping due to low run time...
[root@skyline bin]# redis-cli
127.0.0.1:6379> keys ?
(empty list or set)

And it seems not :)
StringIO is the only message between connection and connection drop of my carbon-relay server...

from skyline.

astanway avatar astanway commented on July 18, 2024

Are you sure you're sending data? Have you tried running seed_data.py?

On Jun 17, 2014, at 4:17 AM, detzom [email protected] wrote:

I checked my redis to ensure that no data is present :

started with pid 22763
2014-06-17 10:14:20 :: 22763 :: starting horizon agent
2014-06-17 10:14:20 :: 22764 :: started worker
2014-06-17 10:14:20 :: 22763 :: started roomba
2014-06-17 10:14:20 :: 22765 :: started worker
2014-06-17 10:14:20 :: 22766 :: started listener
2014-06-17 10:14:20 :: 22766 :: listening over tcp for pickles on 2024
2014-06-17 10:14:20 :: 22767 :: started listener
2014-06-17 10:14:20 :: 22767 :: listening over udp for messagepack on 2025
2014-06-17 10:14:20 :: 22769 :: operated on metrics. in 0.000259 seconds
2014-06-17 10:14:20 :: 22769 :: metrics. keyspace is 0
2014-06-17 10:14:20 :: 22769 :: blocked 0 times
2014-06-17 10:14:20 :: 22769 :: euthanized 0 geriatric keys
2014-06-17 10:14:20 :: 22769 :: sleeping due to low run time...
2014-06-17 10:14:22 :: 22766 :: connection from xxxxxxxxxxx:2024
2014-06-17 10:14:22 :: 22766 :: global name 'StringIO' is not defined
2014-06-17 10:14:22 :: 22766 :: incoming connection dropped, attempting to reconnect
2014-06-17 10:14:22 :: 22766 :: listening over tcp for pickles on 2024
2014-06-17 10:14:30 :: 22775 :: operated on metrics. in 0.000240 seconds
2014-06-17 10:14:30 :: 22775 :: metrics. keyspace is 0
2014-06-17 10:14:30 :: 22775 :: blocked 0 times
2014-06-17 10:14:30 :: 22775 :: euthanized 0 geriatric keys
2014-06-17 10:14:30 :: 22775 :: sleeping due to low run time...
2014-06-17 10:14:35 :: 22765 :: worker queue is empty and timed out
2014-06-17 10:14:35 :: 22764 :: worker queue is empty and timed out
2014-06-17 10:14:40 :: 22778 :: operated on metrics. in 0.001125 seconds
2014-06-17 10:14:40 :: 22778 :: metrics. keyspace is 0
2014-06-17 10:14:40 :: 22778 :: blocked 0 times
2014-06-17 10:14:40 :: 22778 :: euthanized 0 geriatric keys
2014-06-17 10:14:40 :: 22778 :: sleeping due to low run time...
2014-06-17 10:14:50 :: 22764 :: worker queue is empty and timed out
2014-06-17 10:14:50 :: 22765 :: worker queue is empty and timed out
2014-06-17 10:14:50 :: 22781 :: operated on metrics. in 0.000248 seconds
2014-06-17 10:14:50 :: 22781 :: metrics. keyspace is 0
2014-06-17 10:14:50 :: 22781 :: blocked 0 times
2014-06-17 10:14:50 :: 22781 :: euthanized 0 geriatric keys
2014-06-17 10:14:50 :: 22781 :: sleeping due to low run time...
2014-06-17 10:15:00 :: 22784 :: operated on metrics. in 0.000259 seconds
2014-06-17 10:15:00 :: 22784 :: metrics. keyspace is 0
2014-06-17 10:15:00 :: 22784 :: blocked 0 times
2014-06-17 10:15:00 :: 22784 :: euthanized 0 geriatric keys
2014-06-17 10:15:00 :: 22784 :: sleeping due to low run time...
2014-06-17 10:15:05 :: 22765 :: worker queue is empty and timed out
2014-06-17 10:15:05 :: 22764 :: worker queue is empty and timed out
2014-06-17 10:15:10 :: 22787 :: operated on metrics. in 0.000297 seconds
2014-06-17 10:15:10 :: 22787 :: metrics. keyspace is 0
2014-06-17 10:15:10 :: 22787 :: blocked 0 times
2014-06-17 10:15:10 :: 22787 :: euthanized 0 geriatric keys
2014-06-17 10:15:10 :: 22787 :: sleeping due to low run time...
[root@skyline bin]# redis-cli
127.0.0.1:6379> keys ?
(empty list or set)

And it seems not :)
StringIO is the only message between connection and connection drop of my carbon-relay server...


Reply to this email directly or view it on GitHub.

from skyline.

detzom avatar detzom commented on July 18, 2024

lol...

Yes im totally sure :) and my server is plugged on ;)

The last commit you pointed on seems to be the responsible, I reverted to previous one

[root@skyline bin]# git status
On branch master
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
nothing to commit (working directory clean)

And now :

started with pid 26713
2014-06-17 15:07:36 :: 26713 :: starting horizon agent
2014-06-17 15:07:36 :: 26714 :: started worker
2014-06-17 15:07:36 :: 26715 :: started worker
2014-06-17 15:07:36 :: 26716 :: started listener
2014-06-17 15:07:36 :: 26716 :: listening over tcp for pickles on 2024
2014-06-17 15:07:36 :: 26713 :: started roomba
2014-06-17 15:07:36 :: 26717 :: started listener
2014-06-17 15:07:36 :: 26717 :: listening over udp for messagepack on 2025
2014-06-17 15:07:36 :: 26719 :: operated on metrics. in 0.220659 seconds
2014-06-17 15:07:36 :: 26719 :: metrics. keyspace is 930
2014-06-17 15:07:36 :: 26719 :: blocked 0 times
2014-06-17 15:07:36 :: 26719 :: euthanized 0 geriatric keys
2014-06-17 15:07:36 :: 26719 :: sleeping due to low run time...
2014-06-17 15:07:38 :: 26716 :: connection from xxxxxxxxx:2024
2014-06-17 15:07:38 :: 26714 :: queue size at 17
2014-06-17 15:07:38 :: 26714 :: queue size at 415
2014-06-17 15:07:38 :: 26714 :: queue size at 472
2014-06-17 15:07:38 :: 26714 :: queue size at 466
2014-06-17 15:07:38 :: 26714 :: queue size at 451
2014-06-17 15:07:38 :: 26714 :: queue size at 465
2014-06-17 15:07:38 :: 26716 :: queue is full, dropping datapoints

127.0.0.1:6379> keys ?

  1. "metrics.staging.app.banner.selector.isvalid"
  2. "metrics.calcul.log1.stats.calcul-day.affichage.all-sum"
  3. "metrics.staging.app.hit.conversion.valid.cookie"
  4. "metrics.calcul.cl136.app.state.mysql"
  5. "metrics.staging.app.log.file.today.bak"
  6. "metrics.calcul.xxxxx.stats.calcul-memory.clic.all-count"
  7. "metrics.calcul.xxxxx.app.log.file.today.coreg"
  8. "metrics.calcul.log1.app.cron.diffusion.bid.running"
  9. "metrics.calcul.cl136.app.madgicsocket.ms30_par_hit"
  10. "metrics.calcul.xxxxxx.stats.export-newIndex-site_dayBilling.affichage.all-sum-affiliate"
  11. "metrics.staging.app.debug.ifr.call_par_sec"
  12. "metrics.calcul.xxxxxx.app.log.file.today.clicDefaut"
  13. "metrics.staging.app.Redis.delete_par_sec"
  14. "metrics.staging.app.log.file.today.error"
    ...

So im really sending data, but last commit has broken TCP PICKLE reception from carbon-relay.

from skyline.

MyNameIsMeerkat avatar MyNameIsMeerkat commented on July 18, 2024

This is my fault, missing dependencies. Fixing and committing now.

from skyline.

MyNameIsMeerkat avatar MyNameIsMeerkat commented on July 18, 2024

detzom, if you could check the fix is working for you that would be most appreciated and I will close

from skyline.

detzom avatar detzom commented on July 18, 2024

Fix is working great ;)

No more problem with last commit, thank you !

from skyline.

MyNameIsMeerkat avatar MyNameIsMeerkat commented on July 18, 2024

Awesomesauce

from skyline.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.