Too many dropped messages
Too many dropped messages
Hi there,
If total players count is around 50 my game is working fine.
So many players are getting dropped, If total players exceeds above 100 i get the following error...
INFO | jvm 1 | 2008/11/13 20:52:33 | 20:52:33.543 - [ INFO ] > Too many dropped messages. Client will be disconnected: susanhun, 51
INFO | jvm 1 | 2008/11/13 20:53:10 | 20:53:10.789 - [ INFO ] > Too many dropped messages. Client will be disconnected: rock, 51
INFO | jvm 1 | 2008/11/13 20:53:20 | 20:53:20.085 - [ INFO ] > Too many dropped messages. Client will be disconnected: mrsmagpie, 51
INFO | jvm 1 | 2008/11/13 20:54:03 | 20:54:03.899 - [ INFO ] > Too many dropped messages. Client will be disconnected: suzanned, 51
INFO | jvm 1 | 2008/11/13 20:55:18 | 20:55:17.966 - [ INFO ] > Too many dropped messages. Client will be disconnected: xfortunex, 51
INFO | jvm 1 | 2008/11/13 20:55:19 | 20:55:19.463 - [ INFO ] > Too many dropped messages. Client will be disconnected: ruths31, 51
INFO | jvm 1 | 2008/11/13 20:55:19 | 20:55:19.722 - [ INFO ] > Too many dropped messages. Client will be disconnected: trishab, 51
INFO | jvm 1 | 2008/11/13 20:55:22 | 20:55:21.985 - [ INFO ] > Too many dropped messages. Client will be disconnected: aussiegeek, 51
INFO | jvm 1 | 2008/11/13 20:57:17 | 20:57:17.014 - [ INFO ] > Too many dropped messages. Client will be disconnected: DaddyPearce, 51
INFO | jvm 1 | 2008/11/13 20:57:46 | 20:57:46.468 - [ INFO ] > Too many dropped messages. Client will be disconnected: filicimobett, 51
INFO | jvm 1 | 2008/11/13 20:57:46 | 20:57:46.746 - [ INFO ] > Too many dropped messages. Client will be disconnected: luckybudda, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.106 - [ INFO ] > Too many dropped messages. Client will be disconnected: pebbles, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.156 - [ INFO ] > Too many dropped messages. Client will be disconnected: .CM-nuttykaz1, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.466 - [ INFO ] > Too many dropped messages. Client will be disconnected: twiggy, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.473 - [ INFO ] > Too many dropped messages. Client will be disconnected: bigbird22, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.474 - [ INFO ] > Too many dropped messages. Client will be disconnected: sazzles, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.490 - [ INFO ] > Too many dropped messages. Client will be disconnected: charlii, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.549 - [ INFO ] > Too many dropped messages. Client will be disconnected: annette54, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.657 - [ INFO ] > Too many dropped messages. Client will be disconnected: terrib1, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.666 - [ INFO ] > Too many dropped messages. Client will be disconnected: luckyjag, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.668 - [ INFO ] > Too many dropped messages. Client will be disconnected: gearywtp, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.714 - [ INFO ] > Too many dropped messages. Client will be disconnected: shannon13, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.734 - [ INFO ] > Too many dropped messages. Client will be disconnected: cathy1, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.758 - [ INFO ] > Too many dropped messages. Client will be disconnected: susandylan78, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.867 - [ INFO ] > Too many dropped messages. Client will be disconnected: purplekaren341, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.924 - [ INFO ] > Too many dropped messages. Client will be disconnected: suzylea, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.924 - [ INFO ] > Too many dropped messages. Client will be disconnected: charz80, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.928 - [ INFO ] > Too many dropped messages. Client will be disconnected: starryeyedez, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.939 - [ INFO ] > Too many dropped messages. Client will be disconnected: cenafan, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.941 - [ INFO ] > Too many dropped messages. Client will be disconnected: jackieamcgee, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.947 - [ INFO ] > Too many dropped messages. Client will be disconnected: vickie13, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.003 - [ INFO ] > Too many dropped messages. Client will be disconnected: musicdoctor, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.036 - [ INFO ] > Too many dropped messages. Client will be disconnected: julieb123, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.128 - [ INFO ] > Too many dropped messages. Client will be disconnected: scobie32, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.129 - [ INFO ] > Too many dropped messages. Client will be disconnected: marmaris82004, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.148 - [ INFO ] > Too many dropped messages. Client will be disconnected: xxsharonjxx, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.149 - [ INFO ] > Too many dropped messages. Client will be disconnected: Tracey14, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.149 - [ INFO ] > Too many dropped messages. Client will be disconnected: sablewolf, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.154 - [ INFO ] > Too many dropped messages. Client will be disconnected: sammy18, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.155 - [ INFO ] > Too many dropped messages. Client will be disconnected: kpanther, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.192 - [ INFO ] > Too many dropped messages. Client will be disconnected: lynne54, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.196 - [ INFO ] > Too many dropped messages. Client will be disconnected: mumtoten, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.201 - [ INFO ] > Too many dropped messages. Client will be disconnected: anjidru, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.204 - [ INFO ] > Too many dropped messages. Client will be disconnected: vikama, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.217 - [ INFO ] > Too many dropped messages. Client will be disconnected: dawnm82, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.242 - [ INFO ] > Too many dropped messages. Client will be disconnected: catrina1982, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.244 - [ INFO ] > Too many dropped messages. Client will be disconnected: juliepat, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.272 - [ INFO ] > Too many dropped messages. Client will be disconnected: kirstyj1976, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.273 - [ INFO ] > Too many dropped messages. Client will be disconnected: cmutter, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.323 - [ INFO ] > Too many dropped messages. Client will be disconnected: pam2000uk, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.359 - [ INFO ] > Too many dropped messages. Client will be disconnected: khenrys, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.369 - [ INFO ] > Too many dropped messages. Client will be disconnected: debbieg23, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.385 - [ INFO ] > Too many dropped messages. Client will be disconnected: clareabella666, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.405 - [ INFO ] > Too many dropped messages. Client will be disconnected: chill, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.411 - [ INFO ] > Too many dropped messages. Client will be disconnected: pcfc, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.412 - [ INFO ] > Too many dropped messages. Client will be disconnected: ninewells33, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.459 - [ INFO ] > Too many dropped messages. Client will be disconnected: mazholenk, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.475 - [ INFO ] > Too many dropped messages. Client will be disconnected: bingolover22, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.477 - [ INFO ] > Too many dropped messages. Client will be disconnected: doug11, 51
Please help me...
Thanks in Advance,
palanisamy
If total players count is around 50 my game is working fine.
So many players are getting dropped, If total players exceeds above 100 i get the following error...
INFO | jvm 1 | 2008/11/13 20:52:33 | 20:52:33.543 - [ INFO ] > Too many dropped messages. Client will be disconnected: susanhun, 51
INFO | jvm 1 | 2008/11/13 20:53:10 | 20:53:10.789 - [ INFO ] > Too many dropped messages. Client will be disconnected: rock, 51
INFO | jvm 1 | 2008/11/13 20:53:20 | 20:53:20.085 - [ INFO ] > Too many dropped messages. Client will be disconnected: mrsmagpie, 51
INFO | jvm 1 | 2008/11/13 20:54:03 | 20:54:03.899 - [ INFO ] > Too many dropped messages. Client will be disconnected: suzanned, 51
INFO | jvm 1 | 2008/11/13 20:55:18 | 20:55:17.966 - [ INFO ] > Too many dropped messages. Client will be disconnected: xfortunex, 51
INFO | jvm 1 | 2008/11/13 20:55:19 | 20:55:19.463 - [ INFO ] > Too many dropped messages. Client will be disconnected: ruths31, 51
INFO | jvm 1 | 2008/11/13 20:55:19 | 20:55:19.722 - [ INFO ] > Too many dropped messages. Client will be disconnected: trishab, 51
INFO | jvm 1 | 2008/11/13 20:55:22 | 20:55:21.985 - [ INFO ] > Too many dropped messages. Client will be disconnected: aussiegeek, 51
INFO | jvm 1 | 2008/11/13 20:57:17 | 20:57:17.014 - [ INFO ] > Too many dropped messages. Client will be disconnected: DaddyPearce, 51
INFO | jvm 1 | 2008/11/13 20:57:46 | 20:57:46.468 - [ INFO ] > Too many dropped messages. Client will be disconnected: filicimobett, 51
INFO | jvm 1 | 2008/11/13 20:57:46 | 20:57:46.746 - [ INFO ] > Too many dropped messages. Client will be disconnected: luckybudda, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.106 - [ INFO ] > Too many dropped messages. Client will be disconnected: pebbles, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.156 - [ INFO ] > Too many dropped messages. Client will be disconnected: .CM-nuttykaz1, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.466 - [ INFO ] > Too many dropped messages. Client will be disconnected: twiggy, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.473 - [ INFO ] > Too many dropped messages. Client will be disconnected: bigbird22, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.474 - [ INFO ] > Too many dropped messages. Client will be disconnected: sazzles, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.490 - [ INFO ] > Too many dropped messages. Client will be disconnected: charlii, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.549 - [ INFO ] > Too many dropped messages. Client will be disconnected: annette54, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.657 - [ INFO ] > Too many dropped messages. Client will be disconnected: terrib1, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.666 - [ INFO ] > Too many dropped messages. Client will be disconnected: luckyjag, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.668 - [ INFO ] > Too many dropped messages. Client will be disconnected: gearywtp, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.714 - [ INFO ] > Too many dropped messages. Client will be disconnected: shannon13, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.734 - [ INFO ] > Too many dropped messages. Client will be disconnected: cathy1, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.758 - [ INFO ] > Too many dropped messages. Client will be disconnected: susandylan78, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.867 - [ INFO ] > Too many dropped messages. Client will be disconnected: purplekaren341, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.924 - [ INFO ] > Too many dropped messages. Client will be disconnected: suzylea, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.924 - [ INFO ] > Too many dropped messages. Client will be disconnected: charz80, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.928 - [ INFO ] > Too many dropped messages. Client will be disconnected: starryeyedez, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.939 - [ INFO ] > Too many dropped messages. Client will be disconnected: cenafan, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.941 - [ INFO ] > Too many dropped messages. Client will be disconnected: jackieamcgee, 51
INFO | jvm 1 | 2008/11/13 20:57:47 | 20:57:47.947 - [ INFO ] > Too many dropped messages. Client will be disconnected: vickie13, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.003 - [ INFO ] > Too many dropped messages. Client will be disconnected: musicdoctor, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.036 - [ INFO ] > Too many dropped messages. Client will be disconnected: julieb123, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.128 - [ INFO ] > Too many dropped messages. Client will be disconnected: scobie32, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.129 - [ INFO ] > Too many dropped messages. Client will be disconnected: marmaris82004, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.148 - [ INFO ] > Too many dropped messages. Client will be disconnected: xxsharonjxx, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.149 - [ INFO ] > Too many dropped messages. Client will be disconnected: Tracey14, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.149 - [ INFO ] > Too many dropped messages. Client will be disconnected: sablewolf, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.154 - [ INFO ] > Too many dropped messages. Client will be disconnected: sammy18, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.155 - [ INFO ] > Too many dropped messages. Client will be disconnected: kpanther, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.192 - [ INFO ] > Too many dropped messages. Client will be disconnected: lynne54, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.196 - [ INFO ] > Too many dropped messages. Client will be disconnected: mumtoten, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.201 - [ INFO ] > Too many dropped messages. Client will be disconnected: anjidru, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.204 - [ INFO ] > Too many dropped messages. Client will be disconnected: vikama, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.217 - [ INFO ] > Too many dropped messages. Client will be disconnected: dawnm82, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.242 - [ INFO ] > Too many dropped messages. Client will be disconnected: catrina1982, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.244 - [ INFO ] > Too many dropped messages. Client will be disconnected: juliepat, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.272 - [ INFO ] > Too many dropped messages. Client will be disconnected: kirstyj1976, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.273 - [ INFO ] > Too many dropped messages. Client will be disconnected: cmutter, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.323 - [ INFO ] > Too many dropped messages. Client will be disconnected: pam2000uk, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.359 - [ INFO ] > Too many dropped messages. Client will be disconnected: khenrys, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.369 - [ INFO ] > Too many dropped messages. Client will be disconnected: debbieg23, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.385 - [ INFO ] > Too many dropped messages. Client will be disconnected: clareabella666, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.405 - [ INFO ] > Too many dropped messages. Client will be disconnected: chill, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.411 - [ INFO ] > Too many dropped messages. Client will be disconnected: pcfc, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.412 - [ INFO ] > Too many dropped messages. Client will be disconnected: ninewells33, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.459 - [ INFO ] > Too many dropped messages. Client will be disconnected: mazholenk, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.475 - [ INFO ] > Too many dropped messages. Client will be disconnected: bingolover22, 51
INFO | jvm 1 | 2008/11/13 20:57:48 | 20:57:48.477 - [ INFO ] > Too many dropped messages. Client will be disconnected: doug11, 51
Please help me...
Thanks in Advance,
palanisamy
Basically, what that log is telling us is that the client is sending data to the server rapidly (less than 1m/s from what I see). Too rapidly for the server to keep up with 50+ client at that speed.
You'll need to take into consideration the network lag (usually 50m/s - 200m/s). Try setting up a client interval that sends data to the server every 50m/s or more so you won't get too many dropped messages.
You'll need to take into consideration the network lag (usually 50m/s - 200m/s). Try setting up a client interval that sends data to the server every 50m/s or more so you won't get too many dropped messages.
Smartfox's forum is my daily newspaper.
See also the "Understanding Dropped Messages" section in this document -> http://www.smartfoxserver.com/docs/docP ... ooting.htm
Re: Too many dropped messages
Hi,
I am having the same error and I can't find any solution (I read the "Understanding Dropped Messages" section).
What exactly happens is that only some of the users are being disconnected because of this error. Also, the same users can log in with other accounts/usernames. The other strange thing is that I can log in with their not working usernames with no trouble.
I would appreciate some help:)
I am having the same error and I can't find any solution (I read the "Understanding Dropped Messages" section).
What exactly happens is that only some of the users are being disconnected because of this error. Also, the same users can log in with other accounts/usernames. The other strange thing is that I can log in with their not working usernames with no trouble.
I would appreciate some help:)
Re: Too many dropped messages
Yes, only a few users should experience that problem, and they are those with a slow connection.
In the docs we explain how this works and what you can do to help the slower clients:
1- avoid sending too many messages per second (being 10-15msg/sec a reasonable limit)
2- try resizing the users' queue a little bit (50-150msgs is usually ok, max 200-250)
cheers
p.s. = of course you don't have problems if you login with their credentials because you are using your connection
In the docs we explain how this works and what you can do to help the slower clients:
1- avoid sending too many messages per second (being 10-15msg/sec a reasonable limit)
2- try resizing the users' queue a little bit (50-150msgs is usually ok, max 200-250)
cheers
p.s. = of course you don't have problems if you login with their credentials because you are using your connection
Re: Too many dropped messages
Well, they can log in from other accounts normally and I made sure their connection is just fine. What do you think is slow?
2 - is it the <ClientMessagQueue> setting?
I am not sure if that is somehow related but the logs in the AdminTool said sth like that a few times:
"[ WARNING ] [id: 37] (SmartFoxServer.readIncomingMessages): Read queue under heavy load (280 msgs)"
Also, do these setting have anything to do with that error?
<OutQueueThreads>2</OutQueueThreads>
<ExtHandlerThreads>1</ExtHandlerThreads>
2 - is it the <ClientMessagQueue> setting?
I am not sure if that is somehow related but the logs in the AdminTool said sth like that a few times:
"[ WARNING ] [id: 37] (SmartFoxServer.readIncomingMessages): Read queue under heavy load (280 msgs)"
Also, do these setting have anything to do with that error?
<OutQueueThreads>2</OutQueueThreads>
<ExtHandlerThreads>1</ExtHandlerThreads>
Re: Too many dropped messages
Logging in only requires a small exchange of messages, anyone should be able to login without problems.
Evidently when they are connected and in the game/chat or whatever your application does ( you didn't specify ),they can't keep up with the server's updates and start to lag behind. The server keeps the messages that cannot be delivered in a queue but when the queue's limit is reached it starts dropping messages, to avoid growing the queue ad infinitum.
Evidently when they are connected and in the game/chat or whatever your application does ( you didn't specify ),they can't keep up with the server's updates and start to lag behind. The server keeps the messages that cannot be delivered in a queue but when the queue's limit is reached it starts dropping messages, to avoid growing the queue ad infinitum.
If you are getting many of these every few minutes you might have some network issues, maybe bandwidth problems."[ WARNING ] [id: 37] (SmartFoxServer.readIncomingMessages): Read queue under heavy load (280 msgs)"
Yes2 - is it the <ClientMessagQueue> setting?
No, very unlikely<OutQueueThreads>2</OutQueueThreads>
<ExtHandlerThreads>1</ExtHandlerThreads>
Re: Too many dropped messages
Ok, great stuff, thanks!
Th thing is though, that they are being logged out right after logging in, max a few seconds. This is a flash MMO game.
Th thing is though, that they are being logged out right after logging in, max a few seconds. This is a flash MMO game.
Re: Too many dropped messages
Ok, think i solved it. Seems like I was calling sfs too early. Thanks!:D